//Browser Detection to reposition the DIV in search

var browser = "";

//detecting Opera if (navigator.userAgent.indexOf("Opera") > 0){browser = "Opera"}

//detecting IE
if (navigator.appName =="Microsoft Internet Explorer")
{

if ((screen.width==1152) && (screen.height==864))
	{
	 /*Posision of the layer */
	document.writeln('<style>#bubblebox{position:absolute; left:750px; top:617px; width:226px; height:121px; z-index:1; visibility: visible;}</style>');
	}


if ((screen.width==1280) && (screen.height==1024))
	{
	 /*Posision of the layer */
	document.writeln('<style>#bubblebox{position:absolute; left:760px; top:618px; width:226px; height:121px; z-index:1; visibility: visible;}</style>');
	}

	  if ((screen.width==1024) && (screen.height==768))
	{
	 /*Posision of the layer */
		document.writeln('<style>#bubblebox{position:absolute; left:632px; top:617px; width:226px; height:121px; z-index:1; visibility: visible;}</style>');
	}
	
	   if ((screen.width==800) && (screen.height==600))
	{
	 /*Posision of the layer */
		document.writeln('<style>#bubblebox{position:absolute; left:518px; top:613px; width:226px; height:121px; z-index:1; visibility: visible;}</style>');
	}


}

//detecting newer Netscapes
if (navigator.appName == "Netscape") 
{
   
     if ((screen.width==1152) && (screen.height==864))
	{
	 /*Posision of the layer */
		document.writeln('<style>#bubblebox{width: 585px; padding: 5px; position: absolute; left: 390px; top: 115px; height: 21px;}</style>');
	}
	
	  if ((screen.width==1024) && (screen.height==768))
	{
	 /*Posision of the layer */
		document.writeln('<style>#bubblebox{position:absolute; left:632px; top:617px; width:226px; height:121px; z-index:1; visibility: visible;}</style>');
	}
	
   if ((screen.width==800) && (screen.height==600))
	{
	 /*Posision of the layer */
		document.writeln('<style>#bubblebox{position:absolute; left:518px; top:613px; width:226px; height:121px; z-index:1; visibility: visible;}</style>');
	}
	
	if ((screen.width==1280) && (screen.height==1024))
	{
	 /*Posision of the layer */
	document.writeln('<style>#bubblebox{position:absolute; left:760px; top:618px; width:226px; height:121px; z-index:1; visibility: visible;}</style>');
	}
}


//detecting IE
if (navigator.appName =="gecko")
{
	if ((screen.width==1280) && (screen.height==1024))
	{
	 /*Posision of the layer */
	document.writeln('<style>#bubblebox{position:absolute; left:760px; top:618px; width:226px; height:121px; z-index:1; visibility: visible;}</style>');
	}
	
	if ((screen.width==1152) && (screen.height==864))
	{
	 /*Posision of the layer */
	document.writeln('<style>#bubblebox{width: 585px; padding: 5px; position: absolute; left: 340px; top: 115px; height: 21px;}</style>');
	}
	
	  if ((screen.width==1024) && (screen.height==768))
	{
	 /*Posision of the layer */
		document.writeln('<style>#bubblebox{position:absolute; left:632px; top:617px; width:226px; height:121px; z-index:1; visibility: visible;}</style>');
	}
	
	   if ((screen.width==800) && (screen.height==600))
	{
	 /*Posision of the layer */
		document.writeln('<style>#bubblebox{position:absolute; left:518px; top:613px; width:226px; height:121px; z-index:1; visibility: visible;}</style>');
	}
}




