var Sbc_p=navigator.platform.charAt(0);
var Sbc_n=navigator.appName.charAt(0);
var Sbc_v=navigator.appVersion.charAt(0);
var Sbc;
if(Sbc_p=="W"){if(Sbc_n=="M"){Sbc=1;}else{(Sbc_v<5)?Sbc=2:Sbc=3;}}
else{if(Sbc_n=="M"){Sbc=4;}else{(Sbc_v<5)?Sbc=5:Sbc=6;}}
(Sbc==2||Sbc==5)?Sbc_f=1:Sbc_f=0;

//Reload NN4.x
if(Sbc_f){onresize=Frn4;} function Frn4(){location.reload();}

//Roll Over Array(Header/Footer)
function Froa(Sroa_c,Sroa_v){
 switch(Sroa_c){
  case 0:Sroa_i=11; Sroa_p="img/"; Sroa_e=".gif"; Sroa_n=Sroa_v;
  Oia=new Array(); Oib=new Array();
  for(var i=1;i<=Sroa_i;++i){
   Oia[i]=new Image(); Oib[i]=new Image();
   Oia[i].src=Sdir+Sroa_p+Sroa_n+i+"a"+Sroa_e; Oib[i].src=Sdir+Sroa_p+Sroa_n+i+"b"+Sroa_e;
  } break;
  case 1:document.images[Sroa_n+Sroa_v].src=Oib[Sroa_v].src; break;
  case 2:document.images[Sroa_n+Sroa_v].src=Oia[Sroa_v].src; break;
 }
}

//Body Background(Body)
function Fbobg(Sbg_n){
 Sbg_p="img/"; Sbg_e=".gif"; Sbg_r="repeat-x";
 document.write(
 '<style type="text/css">\n',
 '<!--\n',
 'body{background-image:url('+Sdir+Sbg_p+Sbg_n+Sbg_e+'); background-repeat:'+Sbg_r+'}\n',
 '-->\n',
 '</style>'
 );
}

//Next Element Focus(cgi-bin/Change Products)
function Fnef(Snef_fo,Snef_e){document.forms[Snef_fo].elements[Snef_e].focus();}

//Form Element Reset(cgi-bin)
function Ffer(Sfer_fo){
 for(var i=0;i<document.forms[Sfer_fo].length;++i){document.forms[Sfer_fo].elements[i].value="";}
}

document.write(
'<style type="text/css">\n',
'<!--\n'
);

document.write(
'a:link.l1{text-decoration:none; color:#666666}\n',
'a:active.l1{text-decoration:none; color:#666666}\n',
'a:visited.l1{text-decoration:none; color:#666666}\n',
'a:hover.l1{text-decoration:underline; color:#0033FF}\n',

'a:link.l2{text-decoration:underline; color:#000000}\n',
'a:active.l2{text-decoration:underline; color:#000000}\n',
'a:visited.l2{text-decoration:underline; color:#888888}\n',
'a:hover.l2{text-decoration:underline; color:#0033FF}\n',

'a:link.l3{text-decoration:underline; color:#0033FF}\n',
'a:active.l3{text-decoration:underline; color:#0033FF}\n',
'a:visited.l3{text-decoration:underline; color:#0033FF}\n',
'a:hover.l3{text-decoration:none; color:#0033FF}\n',

'a:link.l4{text-decoration:underline; color:#FF0033}\n',
'a:active.l4{text-decoration:underline; color:#FF0033}\n',
'a:visited.l4{text-decoration:underline; color:#FF0033}\n',
'a:hover.l4{text-decoration:underline; color:#FF0033}\n',

'a:link.l5{text-decoration:underline; color:#333333}\n',
'a:active.l5{text-decoration:underline; color:#333333}\n',
'a:visited.l5{text-decoration:underline; color:#333333}\n',
'a:hover.l5{text-decoration:underline; color:#0033FF}\n',

'a:link.ls1{text-decoration:none; color:#0B4452}\n',
'a:active.ls1{text-decoration:none; color:#0B4452}\n',
'a:visited.ls1{text-decoration:none; color:#0B4452}\n',
'a:hover.ls1{text-decoration:underline; color:#0033FF}\n',

'a:link.ls2{text-decoration:none; color:#333333}\n',
'a:active.ls2{text-decoration:none; color:#333333}\n',
'a:visited.ls2{text-decoration:none; color:#333333}\n',
'a:hover.ls2{text-decoration:underline; color:#0033FF}\n',

'strong.keyword{color:#FF0033}\n'
);

switch(Sbc){
 case 1:
 document.write(
 'h2{font-size:16px; line-height:19px}\n',
 '.f10{font-size:10px; line-height:12px}\n',
 '.f10s{font-size:10px}\n',
 '.f12{font-size:12px; line-height:14px}\n',
 '.f13{font-size:13px; line-height:15px}\n',
 '.f13s{font-size:13px}\n',
 '.t10{padding-top:1px}\n',
 '.t13{padding-top:1px}\n',
 '.text1{font-family:"‚l‚r ƒSƒVƒbƒN"; padding-left:2px; margin-bottom:-1px; width:116px}\n',
 '.text2{font-family:"‚l‚r ƒSƒVƒbƒN"; padding-left:2px; margin-bottom:-1px; width:205px}\n',
 '.text3{font-family:"‚l‚r ƒSƒVƒbƒN"; padding-left:2px; margin-bottom:-1px; width:41px}\n',
 '.text4{font-family:"‚l‚r ƒSƒVƒbƒN"; padding-left:2px; margin-bottom:-1px; width:228px}\n',
 '.text5{font-family:"‚l‚r ƒSƒVƒbƒN"; padding-left:2px; margin-bottom:-1px; width:66px}\n',
 '.text6{font-family:"‚l‚r ƒSƒVƒbƒN"; padding-left:2px; margin-bottom:-1px; width:46px}\n',
 '.text7{font-family:"‚l‚r ƒSƒVƒbƒN"; padding-left:2px; margin-bottom:-1px; width:372px}\n',
 '.textarea1{font-family:"‚l‚r ƒSƒVƒbƒN"; line-height:13px; padding-left:2px; padding-top:3px; width:382px; height:114px}\n',
 '.textarea2{font-family:"‚l‚r ƒSƒVƒbƒN"; line-height:13px; padding-left:2px; padding-top:3px; width:372px; height:64px}\n',
 '.textarea3{font-family:"‚l‚r ƒSƒVƒbƒN"; line-height:13px; padding-left:2px; padding-top:3px; width:444px; height:114px}\n',
 '.select1{font-family:"‚l‚r ‚oƒSƒVƒbƒN"; margin-top:2px; margin-bottom:1px; width:185px}\n',
 '.select2{font-family:"‚l‚r ‚oƒSƒVƒbƒN"; margin-top:2px; margin-bottom:1px; width:142px}\n',
 '.select3{font-family:"‚l‚r ‚oƒSƒVƒbƒN"; margin-top:2px; margin-bottom:1px; width:69px}\n',
 '.select4{font-family:"‚l‚r ‚oƒSƒVƒbƒN"; margin-top:2px; margin-bottom:1px; width:185px}\n',
 '.circle_cr {color: #EF3B2D;}\n',
 '.circle_cg {color: #716F6E;}\n'
 ); break;

 case 2:
 document.write(
 'h2{font-size:16px; line-height:19px}\n',
 '.f10{font-size:11px; line-height:12px}\n',
 '.f10s{font-size:11px}\n',
 '.f12{font-size:12px; line-height:14px}\n',
 '.f13{font-size:14px; line-height:15px; padding-top:1px}\n',
 '.f13s{font-size:14px}\n',
 '.text1{font-size:14px}\n',
 '.text2{font-size:14px}\n',
 '.text3{font-size:14px}\n',
 '.text4{font-size:14px}\n',
 '.text5{font-size:14px}\n',
 '.text6{font-size:14px}\n',
 '.text7{font-size:14px}\n',
 '.circle_cr {color: #EF3B2D;}\n',
 '.circle_cg {color: #716F6E;}\n'
 ); break;

 case 3:
 document.write(
 'h2{font-size:16px; line-height:19px}\n',
 '.f10{font-size:10px; line-height:12px}\n',
 '.f10s{font-size:10px}\n',
 '.f12{font-size:12px; line-height:14px}\n',
 '.f13{font-size:13px; line-height:15px}\n',
 '.f13s{font-size:13px}\n',
 '.t10{padding-top:1px}\n',
 '.t13{padding-top:1px}\n',
 '.text1{font-family:"‚l‚r ƒSƒVƒbƒN"; font-size:13px; line-height:12px; padding-left:1px; margin-top:1px; width:116px; height:20px}\n',
 '.text2{font-family:"‚l‚r ƒSƒVƒbƒN"; font-size:13px; line-height:12px; padding-left:1px; margin-top:1px; width:205px; height:20px}\n',
 '.text3{font-family:"‚l‚r ƒSƒVƒbƒN"; font-size:13px; line-height:12px; padding-left:1px; margin-top:1px; width:41px; height:20px}\n',
 '.text4{font-family:"‚l‚r ƒSƒVƒbƒN"; font-size:13px; line-height:12px; padding-left:1px; margin-top:1px; width:228px; height:20px}\n',
 '.text5{font-family:"‚l‚r ƒSƒVƒbƒN"; font-size:13px; line-height:12px; padding-left:1px; margin-top:1px; width:66px; height:20px}\n',
 '.text6{font-family:"‚l‚r ƒSƒVƒbƒN"; font-size:13px; line-height:12px; padding-left:1px; margin-top:1px; width:46px; height:20px}\n',
 '.text7{font-family:"‚l‚r ƒSƒVƒbƒN"; font-size:13px; line-height:12px; padding-left:1px; margin-top:1px; width:372px; height:20px}\n',
 '.textarea1{font-family:"‚l‚r ƒSƒVƒbƒN"; font-size:13px; line-height:13px; padding-left:1px; padding-top:1px; width:382px; height:114px}\n',
 '.textarea2{font-family:"‚l‚r ƒSƒVƒbƒN"; font-size:13px; line-height:13px; padding-left:1px; padding-top:1px; width:372px; height:64px}\n',
 '.textarea3{font-family:"‚l‚r ƒSƒVƒbƒN"; font-size:13px; line-height:13px; padding-left:1px; padding-top:1px; width:444px; height:114px}\n',
 '.select1{font-family:"‚l‚r ‚oƒSƒVƒbƒN"; font-size:13px; line-height:14px; margin-top:2px; margin-bottom:1px; width:115px; height:18px}\n',
 '.select2{font-family:"‚l‚r ‚oƒSƒVƒbƒN"; font-size:13px; line-height:14px; margin-top:2px; margin-bottom:1px; width:142px; height:18px}\n',
 '.select3{font-family:"‚l‚r ‚oƒSƒVƒbƒN"; font-size:13px; line-height:14px; margin-top:2px; margin-bottom:1px; width:69px; height:18px}\n',
 '.circle_cr {color: #EF3B2D;}\n',
 '.circle_cg {color: #716F6E;}\n'
 ); break;

 case 4:
 document.write(
 'h2{font-size:14px; line-height:19px}\n',
 '.f10{font-size:10px; line-height:12px}\n',
 '.f10s{font-size:10px}\n',
 '.f12{font-size:10px; line-height:14px}\n',
 '.f13{font-size:12px}\n',
 '.f13s{font-size:12px}\n',
 '.t10{padding-bottom:1px}\n',
 '.t13{padding-bottom:1px}\n',
 '.text1{padding-top:2px; margin-top:1px; width:112px; height:14px}\n',
 '.text2{padding-top:2px; margin-top:1px; width:201px; height:14px}\n',
 '.text3{padding-top:2px; margin-top:1px; width:37px; height:14px}\n',
 '.text4{padding-top:2px; margin-top:1px; width:224px; height:14px}\n',
 '.text5{padding-top:2px; margin-top:1px; width:62px; height:14px}\n',
 '.text6{padding-top:2px; margin-top:1px; width:42px; height:14px}\n',
 '.text7{padding-top:2px; margin-top:1px; width:368px; height:14px}\n',
 '.textarea1{font-family:"Osaka"; margin-top:1px; margin-bottom:1px; width:378px; height:110px}\n',
 '.textarea2{font-family:"Osaka"; margin-top:1px; margin-bottom:1px; width:368px; height:60px}\n',
 '.textarea3{font-family:"Osaka"; margin-top:1px; margin-bottom:1px; width:440px; height:110px}\n',
 '.select1{font-family:"Osaka"; font-size:12px; letter-spacing:-1px; margin-top:1px; margin-bottom:1px; width:111px; height:17px}\n',
 '.select2{font-family:"Osaka"; font-size:12px; letter-spacing:-1px; margin-top:1px; margin-bottom:1px; width:138px; height:17px}\n',
 '.select3{font-family:"Osaka"; font-size:12px; letter-spacing:-1px; margin-top:1px; margin-bottom:1px; width:65px; height:17px}\n',
 '.circle_cr {color: #EF3B2D;}\n',
 '.circle_cg {color: #716F6E;}\n'
 ); break;

 case 5:
 document.write(
 'h2{font-size:14px; line-height:19px}\n',
 '.f10{font-size:10px; line-height:12px}\n',
 '.f10s{font-size:10px}\n',
 '.f12{font-size:10px; line-height:14px}\n',
 '.f13{font-size:12px; padding-bottom:1px}\n',
 '.f13s{font-size:12px}\n',
 '.text1{margin-top:1px; margin-bottom:2px}\n',
 '.text2{margin-top:1px; margin-bottom:2px}\n',
 '.text3{margin-top:1px; margin-bottom:2px}\n',
 '.text4{margin-top:1px; margin-bottom:2px}\n',
 '.text5{margin-top:1px; margin-bottom:2px}\n',
 '.text6{margin-top:1px; margin-bottom:2px}\n',
 '.text7{margin-top:1px; margin-bottom:2px}\n',
 '.select1{margin-top:1px}\n',
 '.select2{margin-top:1px}\n',
 '.select3{margin-top:1px}\n',
 '.circle_cr {color: #EF3B2D;}\n',
 '.circle_cg {color: #716F6E;}\n'
 ); break;

 case 6:
 document.write(
 'h2{font-size:14px}\n',
 '.f10{font-size:10px; line-height:12px}\n',
 '.f10s{font-size:10px}\n',
 '.f12{font-size:10px}\n',
 '.f13{font-size:12px; line-height:15px}\n',
 '.f13s{font-size:12px}\n',
 '.text1{font-family:"Osaka"; font-size:12px; line-height:14px; padding-left:1px; margin-top:1px; width:116px; height:20px}\n',
 '.text2{font-family:"Osaka"; font-size:12px; line-height:14px; padding-left:1px; margin-top:1px; width:205px; height:20px}\n',
 '.text3{font-family:"Osaka"; font-size:12px; line-height:14px; padding-left:1px; margin-top:1px; width:41px; height:20px}\n',
 '.text4{font-family:"Osaka"; font-size:12px; line-height:14px; padding-left:1px; margin-top:1px; width:228px; height:20px}\n',
 '.text5{font-family:"Osaka"; font-size:12px; line-height:14px; padding-left:1px; margin-top:1px; width:66px; height:20px}\n',
 '.text6{font-family:"Osaka"; font-size:12px; line-height:14px; padding-left:1px; margin-top:1px; width:46px; height:20px}\n',
 '.text7{font-family:"Osaka"; font-size:12px; line-height:14px; padding-left:1px; margin-top:1px; width:372px; height:20px}\n',
 '.textarea1{font-family:"Osaka"; font-size:12px; padding-left:1px; width:382px; height:114px}\n',
 '.textarea2{font-family:"Osaka"; font-size:12px; padding-left:1px; width:372px; height:64px}\n',
 '.textarea3{font-family:"Osaka"; font-size:12px; padding-left:1px; width:444px; height:114px}\n',
 '.select1{font-family:"Osaka"; font-size:12px; letter-spacing:-1px; padding-left:2px; margin-top:1px; margin-bottom:1px; width:115px; height:19px}\n',
 '.select2{font-family:"Osaka"; font-size:12px; letter-spacing:-1px; padding-left:2px; margin-top:1px; margin-bottom:1px; width:142px; height:19px}\n',
 '.select3{font-family:"Osaka"; font-size:12px; letter-spacing:-1px; padding-left:2px; margin-top:1px; margin-bottom:1px; width:69px; height:19px}\n',
 '.circle_cr {color: #EF3B2D;}\n',
 '.circle_cg {color: #716F6E;}\n'
 ); break;
}

document.write(
'-->\n',
'</style>'
);