function UACK() {
	var UA = navigator.userAgent.toLowerCase();
	var win = UA.indexOf("win") != -1;
	var mac = UA.indexOf("mac") != -1;
	var other = UA.indexOf("win") == -1 && UA.indexOf("mac") == -1;
}

function copenner(URL,name,scroll,w,h) {
	getWidth = screen.availWidth ;
	getHeight = screen.availHeight;
	if (win) {	// for Windows
		w = Number(w) + 16;
		widthPos = (getWidth - w) / 2;
		heightPos = (getHeight - h) / 2;
		window.open(URL,name,"toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,scrollbars=" + scroll + ",WIDTH=" + w + ",HEIGHT=" + h + ",left=" + widthPos + ",top=" + heightPos);
	} else {				 	// for Mac & others
		widthPos = (getWidth - w) / 2;
		heightPos = (getHeight - h) / 2;
		window.open(URL,name,"toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,scrollbars=" + scroll + ",WIDTH=" + w + ",HEIGHT=" + h + ",left=" + widthPos + ",top=" + heightPos);
	}
}

function show_hide(show,hide) {
	document.getElementById(show).style.display = 'block';
	document.getElementById(hide).style.display = 'none';
}

window.onload = function(){
	j$(".shadow").dropShadow({left: 1, top: 1, opacity: 0.2, blur: 0});
}