﻿function setGoogleBanner(){
	try{
	    
	    if(!bannerOn) throw new Exception();
	    
	    var dv = document.getElementById("dvBannerGoogle");
	    
	    dv.style.height 	= iGHeight;
	    dv.style.display 	= "block";
	    dv.style.background = iGBackGround;
	    dv.style.padding 	= iGPadding;
    	
	    iHeight = (((navigator.appName == "Microsoft Internet Explorer")?document.body.clientHeight:window.innerHeight) - 110)+"px";
	
	}catch(Exception){
	
	    iHeight = "100%";
	    document.getElementById("dvBannerGoogle").style.display = "none";
	    
	}
}