function switchMenu(obj) {
	var el = document.getElementById(obj);
	if ( el.style.visibility != "hidden" ) {
		el.style.visibility = 'hidden';
		el.style.display = 'none';
	} else {
		el.style.visibility = 'visible';
		el.style.display = '';
	}
}

function popUp(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=614,height=794,left = 973,top = 403');");
}

function popUpSS(URL) {
        day = new Date();
	id = day.getTime();
        eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=450');");
}

function popUpSS2(URL) {
        day = new Date();
        id = day.getTime();
        eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=955,height=700');");
}

function PopupPic(sPicURL) { 
	day = new Date();
        id = day.getTime();
	URL = "/skin/frontend/base/default/popup.htm?"+sPicURL;
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=200,height=200');");
}

