// Window Open
function winopen(url,width,height){
var www = top.window.open(url,'www', 'resizable=yes,scrollbars=yes,menubar=yes,status=yes,height='+height+',width='+width+'');
www.focus();
}

// Window Open Picture
function winopenpic(url,width,height){
var www = top.window.open(url,'www2', 'resizable=no,scrollbars=yes,menubar=no,status=no,directories=no,height='+height+',width='+width+'');
www.focus();
}

// Window Open
function winopenfix(url,width,height){
var www = top.window.open(url,'wwwfix', 'resizable=no,scrollbars=no,menubar=no,height='+height+',width='+width+'');
www.focus();
}

// Window Open
function winopennew(url,width,height,name){
var zzz = top.window.open(url,name, 'resizable=yes,scrollbars=yes,menubar=no,status=yes,height='+height+',width='+width+'');
zzz.focus();
}


function clearCookies(msg){
 if (document.cookie != "")
 {
 var cookieInfo, cookieData;
 var expireDate = new Date();
 cookieInfo = document.cookie.split("; ");
 expireDate.setDate(expireDate.getDate() - 10);
 for (counter=0; counter<cookieInfo.length; counter++)
  {
   cookieData = cookieInfo[counter].split("=")[0];
   cookieData += "=null;expires=" + expireDate.toGMTString()+";path=/";
   document.cookie = cookieData; 
  }
 }
 alert(msg);
}
