// JavaScript Document

function DoPop(popWin,instName,w,h,scrll,resz){
	//var site_w = 750;
	//var site_h = 500;
	var t = 0;
	var l = 0;
		if(window.screen.Width<=800){
			l = (window.screen.Width-w)/2;
		} else {
			l = (window.screen.Width-w)/2;
			t = (window.screen.Width-h)/4;
		}
	win = window.open(popWin,instName,'top='+t+',left='+l+',height='+h+',width='+w+',resizable='+resz+',scrollbars='+scrll+',toolbar=no,location=no,directories=no,status=yes,menubar=no,fullscreen=no');
}
function callCNS(){
if(event.ctrlKey)
	if (event.keyCode == 89){
		DoPop('apps/scp/','publix',768,420,'yes','yes');
	} 
}
document.onkeydown = callCNS;

function Menu(obj,ev){
	if (ev == 'over') obj.className = "menuitem-over";
	if (ev == 'out') obj.className = "menuitem";
}
function visMenu(c){
	if(eval(c+".style.display") ==''){
		eval(c+".style.display ='none'");
	} else if(eval(c+".style.display") =='none'){
		eval(c+".style.display =''");
	}
}
