<!--
	
	
	var whichBrowser = 0;
	
	if (parseInt(navigator.appVersion)>3) {
 		if ((navigator.appName.indexOf("Microsoft"))!=-1) {
 			whichBrowser = 1;
 		} else {
 			whichBrowser = 0;
 		}
	}
	
	if (parseInt(navigator.appVersion)>1) {
	 	if ((navigator.appName.indexOf("Netscape"))!=-1) {
	 		whichBrowser = 2;
	 	}
	}
	
	function doBackgroundScale()
	{
		var commonImageRatio = 1.87;
		
		var documentWidth = 0;
		var documentHeight = 0;
		var documentRatio = 0;		
		
		
		if(whichBrowser == 1){
			documentWidth = document.body.offsetWidth - 22;
  			documentHeight = document.body.offsetHeight - 22;
		} else {
			documentWidth = window.innerWidth;
  			documentHeight = window.innerHeight;
		}
		
		
		
		documentRatio = documentWidth / documentHeight;
		
		//resize
		
		//document.getElementById("cityscape").style.width = documentWidth + "px";
		//document.getElementById("cityscape").style.height = documentHeight + "px";
		
		if(documentRatio > commonImageRatio){
			
			//document ratio is wider

			//document.getElementById("citypic").style.width =  documentWidth + "px";
			//document.getElementById("citypic").style.height = (documentWidth / commonImageRatio) + "px";
			
			//document.getElementById("cityscape").style.top = 0 - ((documentWidth / commonImageRatio) - documentHeight) + "px";
			
			
		} else if(documentRatio < commonImageRatio){
			
			//document ratio is higher
			
			//document.getElementById("citypic").style.height = documentHeight + "px";
			//document.getElementById("citypic").style.width = (documentHeight * commonImageRatio) + "px";
			
		
		} else {
			
			//document ratio matches (what are the chances?)
			
			//document.getElementById("citypic").style.width = documentWidth + "px";
			//document.getElementById("citypic").style.height = documentHeight + "px";
		
		
		}
		
		
		document.getElementById("contentlayer").style.marginTop = (documentHeight - 535) + 'px';
		document.getElementById("contentlayer").style.marginLeft = ((documentWidth - 1100) / 2) + "px";
		//document.getElementById("contentlayer").style.top = (documentHeight - 550) + 'px';
		
		//if(whichBrowser == 2){
			//document.getElementById("contentlayer").style.top = "0px";
			//document.getElementById("contentlayer").style.left = ((documentWidth - 1100) / 2) + "px";
		//}
		document.getElementById("budlogo").style.bottom = "23px";
		document.getElementById("budlogo").style.right = "20px";
		
	
	}
	
	
	function doBackgroundScaleAG()
		{
			var commonImageRatio = 1.87;
			
			var documentWidth = 0;
			var documentHeight = 0;
			var documentRatio = 0;		
			
			
			if(whichBrowser == 1){
				documentWidth = document.body.offsetWidth - 22;
	  			documentHeight = document.body.offsetHeight - 22;
			} else {
				documentWidth = window.innerWidth;
	  			documentHeight = window.innerHeight;
			}
			
			
			
			documentRatio = documentWidth / documentHeight;
			
			//resize
			
		//	document.getElementById("cityscape").style.width = documentWidth + "px";
			//document.getElementById("cityscape").style.height = documentHeight + "px";
			
			if(documentRatio > commonImageRatio){
				
				//document ratio is wider
	
			//	document.getElementById("citypic").style.width =  documentWidth + "px";
			//	document.getElementById("citypic").style.height = (documentWidth / commonImageRatio) + "px";
				
				//document.getElementById("cityscape").style.top = 0 - ((documentWidth / commonImageRatio) - documentHeight) + "px";
				
				
			} else if(documentRatio < commonImageRatio){
				
				//document ratio is higher
				
			//	document.getElementById("citypic").style.height = documentHeight + "px";
			//	document.getElementById("citypic").style.width = (documentHeight * commonImageRatio) + "px";
				
			
			} else {
				
				//document ratio matches (what are the chances?)
				
			//	document.getElementById("citypic").style.width = documentWidth + "px";
			//	document.getElementById("citypic").style.height = documentHeight + "px";
			
			
			}
			
			
			document.getElementById("contentlayerAG").style.top = (documentHeight - 555) + "px";
			document.getElementById("contentlayerAG").style.left = "10px";
			
			if(whichBrowser == 2){
				//document.getElementById("contentlayerAG").style.top = "0px";
				document.getElementById("contentlayerAG").style.left = "10px";
			}
			document.getElementById("budlogo").style.bottom = "23px";
			document.getElementById("budlogo").style.left = (documentWidth - 150)+"px";	
			
	}
	
	
	function doBackgroundScaleAccess()
		{
			var commonImageRatio = 1.87;
			
			var documentWidth = 0;
			var documentHeight = 0;
			var documentRatio = 0;
			
			if(whichBrowser == 1){
				documentWidth = document.body.offsetWidth - 22;
	  			documentHeight = document.body.offsetHeight - 22;
			} else {
				documentWidth = window.innerWidth;
	  			documentHeight = window.innerHeight;
			}
			
			documentRatio = documentWidth / documentHeight;
			
			//resize
			
		//	document.getElementById("cityscape").style.width = documentWidth + "px";
		//	document.getElementById("cityscape").style.height = documentHeight + "px";
			
			if(documentRatio > commonImageRatio){
				
				//document ratio is wider
	
		//		document.getElementById("citypic").style.width =  documentWidth + "px";
		//		document.getElementById("citypic").style.height = (documentWidth / commonImageRatio) + "px";
				
				//document.getElementById("cityscape").style.top = 0 - ((documentWidth / commonImageRatio) - documentHeight) + "px";
				
				
			} else if(documentRatio < commonImageRatio){
				
				//document ratio is higher
				
		//		document.getElementById("citypic").style.height = documentHeight + "px";
		//		document.getElementById("citypic").style.width = (documentHeight * commonImageRatio) + "px";
				
			
			} else {
				
				//document ratio matches (what are the chances?)
				
		//		document.getElementById("citypic").style.width = documentWidth + "px";
		//		document.getElementById("citypic").style.height = documentHeight + "px";
			
			
			}
			
			
			//document.getElementById("contentAccess").style.height = (documentHeight - 120) + "px";
			
			document.getElementById("budlogo").style.bottom = "23px";
			document.getElementById("budlogo").style.right = "20px";
			
		
	}
	
	function talktomainswf(whichRedirection)
	{
		if(whichBrowser == 1){
			document.getElementById("budLoader").doNav(whichRedirection);
		} else {
			document.getElementById("budLoader2").doNav(whichRedirection);
		}
	}
	
	

//-->