   img1 = new Image();
   img2 = new Image();
   img3 = new Image();
   img4 = new Image();
   img1.src = "http://www.three-mobile-phones.com/HomeInsurance/images/main/body/CloudsTopBG.jpg"
   img2.src = "http://www.three-mobile-phones.com/HomeInsurance/images/main/body/Home_Insurance_Logo.jpg"
   img3.src = "http://www.three-mobile-phones.com/HomeInsurance/images/main/body/VfadeL.jpg"
   img4.src = "http://www.three-mobile-phones.com/HomeInsurance/images/main/body/VfadeG.jpg"
// JavaScript Document
//////////////////////////////////////////////////
/// For Popup
function gopopup()
{
	var url = '';
	for (gopopup_i = 0; gopopup_i < arguments.length; gopopup_i++)
	{
		url = url + arguments[gopopup_i];
	}
	
	popupWin(url);
}

function popupWin(file) {
	msgWindow=open(file,"",'resizable=yes,width=1000,height=600,scrollbars=yes');
	if (msgWindow.opener == null)
		msgWindow.opener = self;
}

///////////////////////////////////////////////////////
//////////////////////////////////////////////////
/// For New Window
function gonew()
{
	var url = '';
	for (gonew_i = 0; gonew_i < arguments.length; gonew_i++)
	{
		url = url + arguments[gonew_i];
	}
	
	gonowNEW(url);
}

function gonowNEW(u) 
{
	window.open(u);
}
///////////////////////////////////////////////////////
//////////////////////////////////////////////////
/// For SAME Window

function gosame()
{
	var url = '';
	for (gosame_i = 0; gosame_i < arguments.length; gosame_i++)
	{
		url = url + arguments[gosame_i];
	}
	
	gonowSAME(url);
}

function gonowSAME(u) 
{
	window.location.href=u;
}

function toggle_visibility(id, name)
{
  var e = document.getElementById(id);
  var f = document.getElementById(name);
  if(e.style.display == 'none')
  {
     e.style.display = 'block';
	 f.innerHTML = 'Hide';
  }
  else
  {
    e.style.display = 'none';
	f.innerHTML = 'Show';
  }
}

