/* Popup Window */
function popUp(u,t) {
  switch(t) {
    case 0: winOpen(u,'popOrder',480,480,0,0,'scrollbars=1'); break;
	case 1: winOpen(u,'popReg',603,420,0,0,'scrollbars=1'); break;
	case 2: winOpen(u,'popSm',400,200,0,0,'scrollbars=0'); break;
	default: break;
  }
}
function winOpen(u,n,w,h,t,l,f) {
  child = window.open(u,n,'width='+w+',height='+h+',top='+t+',left='+l+',directories=0,'+f.toString());
  setTimeout('child.focus()',100);
}

expireDate = new Date
expireDate.setMonth(expireDate.getMonth()+6)
acount = eval(cookieVal("angCounter"))
acount++
document.cookie = "angCounter="+acount+";expires=" + expireDate.toGMTString()

function cookieVal(cookieName) {
thisCookie = document.cookie.split("; ")
for (i=0; i<thisCookie.length; i++){
	if (cookieName == thisCookie[i].split("=")[0]){
		return thisCookie[i].split("=")[1]
	}
}
return 0
}

function page_counter(){
for (i=0;i<(7-acount.toString().length);i++)
document.write('0')
for (y=0;y<(acount.toString().length);y++)
document.write(acount.toString().charAt(y))
}


<!--
// PRELOADING IMAGES
if (document.images) {
 img_on =new Image();  img_on.src ="../image/pNew2010_0.gif";
 img_off=new Image();  img_off.src="../image/pNew2010_1.gif"; 
}

function handleOver() { 
 if (document.images) document.imgName.src=img_on.src;
}

function handleOut() {
 if (document.images) document.imgName.src=img_off.src;
}

//-->


