function openWindow(url,h,w) { var ww = 480, wh = 340, leftPos = null, topPos = null; 
	IE=(document.all)?true:false; 
	var wh = (IE)?document.body.clientHeight : window.innerHeight; 
	var ww = (IE)?document.body.clientWidth : window.innerWidth; 
	
	if (top.screen){ 
		if (screen.width){ 
			leftPos = Math.round((ww-w-10)/2); 
			topPos = Math.round((wh-h-29)/2); 
		} else { 
			leftPos = 50 
			topPos = 50 
		} 
	} 

 popupWin = window.open(url, 'popup', 'height=' + h + ',width=' + w + ',top=' + topPos + ',left=' + leftPos + '') 
}

function showLogo() {
	if (mac) {
		if (mi) {
			document.all.divLogo.style.top = 143
			if (document.body.clientWidth < 902) {
				document.all.divLogo.style.left = 37
			} else {
				document.all.divLogo.style.left = (document.body.clientWidth / 2) - 430
			}
				document.all.divLogo.style.visibility = "visible"
		} else {
			document.getElementById("divLogo").style.top = 143
			if (window.innerWidth < 902) {
				document.getElementById("divLogo").style.left = 37
			} else {
				document.getElementById("divLogo").style.left = (window.innerWidth / 2) - 430
			}	
				document.getElementById("divLogo").style.visibility = "visible"
		}
	} else {
		if (mi) {
			document.all.divLogo.style.top = 143
			if (document.body.clientWidth < 902) {
				document.all.divLogo.style.left = 37
			} else {
				document.all.divLogo.style.left = (document.body.clientWidth / 2) - 430
			}
				document.all.divLogo.style.visibility = "visible"
		} else if (safari) {
			document.getElementById("divLogo").style.top = 143
			if (window.innerWidth < 902) {
				document.getElementById("divLogo").style.left = 37
			} else {
				document.getElementById("divLogo").style.left = (window.innerWidth / 2) - 430
			}	
				document.getElementById("divLogo").style.visibility = "visible"

		} else {
			document.getElementById("divLogo").style.top = 143
			if (window.innerWidth < 902) {
				document.getElementById("divLogo").style.left = 37
			} else {
				document.getElementById("divLogo").style.left = (window.innerWidth / 2) - 430
			}	
				document.getElementById("divLogo").style.visibility = "visible"
		}
	}
}
