function printpage(pn, w, h)
{
	var url = "/nike/print/print.jsp?menu=" + pn;
	window.open(url, pn,"toolbar=0, menubar=0, scrollbars=yes, resizable=no, width=" + w +",height=" + h);
}
   
function printStore(param)
{
	var w = 100;
	var h = 100;
	var url = "/nike/print/store.jsp" + param; 
	window.open(url, "","toolbar=0, menubar=0, scrollbars=yes, resizable=no, width=" + w +",height=" + h);
}
    
function popupUniform()
{
    window.open( '/nike/print/pop_order.html','new','  width=491, height=449, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no,  resizable=no')
}

function printcontact(pn,w,h)
{
	var url = "/nike/print/company.jsp?r=" + pn;
	window.open(url, pn,"toolbar=0, menubar=0, scrollbars=yes, resizable=no, width=" + w +",height=" + h);
}    
        
function getCookieVal (offset) {
   var endstr = document.cookie.indexOf (";", offset);
   if (endstr == -1) endstr = document.cookie.length;
   return unescape(document.cookie.substring(offset, endstr));
}

function GetCookie (name, tf) {
   var arg = name + "=";
   var alen = arg.length;
   var clen = document.cookie.length;
   var i = 0;
   while (i < clen) {	//while open
      var j = i + alen;
      if (document.cookie.substring(i, j) == arg)
         doPassVar(getCookieVal (j), tf);
      i = document.cookie.indexOf(" ", i) + 1;
      if (i == 0) break; 
   }	//while close
}

function setCookie(name, value)
{
    document.cookie=name+"="+value;
} 

function doPassVar(args, tf){
	window.document.myflash.SetVariable(tf,args);
}

function getCookie( name )
{
	var nameOfCookie = name + "=";
	var x = 0;
	while ( x <= document.cookie.length )
	{
		var y = (x+nameOfCookie.length);
		if ( document.cookie.substring( x, y ) == nameOfCookie ) {
			if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 )
				endOfCookie = document.cookie.length;
			return unescape( document.cookie.substring( y, endOfCookie ) );
		}
		x = document.cookie.indexOf( " ", x ) + 1;
		if ( x == 0 )
			break;
	}
	return "";
}
if ( getCookie( "Notice" ) != "done" )
{
}
  

    
function notice01(){
	window.open('/nike/pop/pop_rule.html','_blank','width=490,height=384,top=100,left=100,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no')
}    


function pop_getgo()
{
	window.open('/nike/pop/pop_recall03.html','_blank','width=500,height=635,top=100,left=100,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no');
}


function openwin(url, wt, ht, scr) {
	var w=window.screen.availWidth/2;
	var h=window.screen.availHeight/2;
	wt=Number(wt);
	ht=Number(ht);
	w=w-(Number(wt)/2);
	h=h-(Number(ht)/2);
	window.open(url,"event","scrollbars="+scr+",width="+wt+",height="+ht+",top="+h+",left="+w);
}