//ロールオーバー

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


//プリロード

fName = ["/care/image/home_over.gif","/care/image/member_over.gif"];
prIMG = new Array();
for (i=0; i<fName.length; i++)
{
prIMG[i] = new Image();
prIMG[i].src = fName[i];
}

//ヘッダー
header_home = ''
	+  '<div id="header">'
		+  '<a href="index.php"><img src="image/logo.gif" width="182" height="51" border="0" alt="コンタクトレンズケア用品の正和コンタクト"></a><img src="image/header.gif" alt="税込5,250円以上ご購入で送料無料！" width="618" height="51" border="0" usemap="#add_charge">'
	+  '</div>'
	+  '<div id="g-navi">'
		+  '<img src="image/home_on.gif" name="home" width="78" height="33" border="0" alt="ホーム"><a href="member.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'member\',\'\',\'image/member_over.gif\',1)"><img src="image/member_off.gif" name="member" width="290" height="33" border="0" alt="リピート購入に便利な会員登録"></a><img src="image/spacer.gif" width="67" height="33" border="0" alt=""><a href="cart.php"><img src="image/cart_look_button.gif" width="91" height="21" border="0" alt="カートを見る" class="button"></a><img src="image/cart_area_joint.gif" width="30" height="21" border="0" alt="" class="button"><a href="order1.php"><img src="image/account_button.gif" width="60" height="21" border="0" alt="お会計" class="button"></a><img src="image/cart_area_joint.gif" width="30" height="21" border="0" alt="" class="button"><a href="info.php#pay_carriage"><img src="image/about_button.gif" width="142" height="21" border="0" alt="お支払い・送料について" class="button"></a><img src="image/cart_area_end.gif" width="12" height="33" border="0" alt="">'
	+  '</div>'


header_common = ''
	+  '<div id="header">'
		+  '<a href="index.php"><img src="image/logo.gif" width="182" height="51" border="0" alt="コンタクトレンズケア用品の正和コンタクト"></a><img src="image/header.gif" alt="税込5,250円以上ご購入で送料無料！" width="618" height="51" border="0" usemap="#add_charge">'
	+  '</div>'
	+  '<div id="g-navi">'
		+  '<a href="index.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'home\',\'\',\'image/home_over.gif\',1)"><img src="image/home_off.gif" name="home" width="78" height="33" border="0" alt="ホーム"></a><a href="member.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'member\',\'\',\'image/member_over.gif\',1)"><img src="image/member_off.gif" name="member" width="290" height="33" border="0" alt="リピート購入に便利な会員登録"></a><img src="image/spacer.gif" width="67" height="33" border="0" alt=""><a href="cart.php"><img src="image/cart_look_button.gif" width="91" height="21" border="0" alt="カートを見る" class="button"></a><img src="image/cart_area_joint.gif" width="30" height="21" border="0" alt="" class="button"><a href="order1.php"><img src="image/account_button.gif" width="60" height="21" border="0" alt="お会計" class="button"></a><img src="image/cart_area_joint.gif" width="30" height="21" border="0" alt="" class="button"><a href="info.php#pay_carriage"><img src="image/about_button.gif" width="142" height="21" border="0" alt="お支払い・送料について" class="button"></a><img src="image/cart_area_end.gif" width="12" height="33" border="0" alt="">'
	+  '</div>'


header_member = ''
	+  '<div id="header">'
		+  '<a href="index.php"><img src="image/logo.gif" width="182" height="51" border="0" alt="コンタクトレンズケア用品の正和コンタクト"></a><img src="image/header.gif" alt="税込5,250円以上ご購入で送料無料！" width="618" height="51" border="0" usemap="#add_charge">'
	+  '</div>'
	+  '<div id="g-navi">'
		+  '<a href="index.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'home\',\'\',\'image/home_over.gif\',1)"><img src="image/home_off.gif" name="home" width="78" height="33" border="0" alt="ホーム"></a><a href="member.php"><img src="image/member_on.gif" name="member" width="290" height="33" border="0" alt="リピート購入に便利な会員登録"></a><img src="image/spacer.gif" width="67" height="33" border="0" alt=""><a href="cart.php"><img src="image/cart_look_button.gif" width="91" height="21" border="0" alt="カートを見る" class="button"></a><img src="image/cart_area_joint.gif" width="30" height="21" border="0" alt="" class="button"><a href="order1.php"><img src="image/account_button.gif" width="60" height="21" border="0" alt="お会計" class="button"></a><img src="image/cart_area_joint.gif" width="30" height="21" border="0" alt="" class="button"><a href="info.php#pay_carriage"><img src="image/about_button.gif" width="142" height="21" border="0" alt="お支払い・送料について" class="button"></a><img src="image/cart_area_end.gif" width="12" height="33" border="0" alt="">'
	+  '</div>'


ssl = ''
	+  '<div id="ssl">'
		+  '<form action="https://www.login.secomtrust.net/customer/customer/pfw/CertificationPage.do" name="CertificationPageForm" method="post" target="_blank"><input type="image" src="/secom_L.gif" width="68" height="132" style="margin: 0 0 0 50px; border: none;" name="Sticker" alt="クリックして証明書の内容をご確認ください" oncontextmenu="return false"><input type="hidden" name="Req_ID" value="3019102793"></form>当オンラインショッピングでは、実在性の証明とプライバシー保護のため、「セコムトラストネット株式会社」のSSLサーバ証明書を使用し、SSL暗号化通信を実現しています。上記セキュアシールのクリックにより、サーバ証明書の検証結果をご確認ください。'
	+  '</div>'


ssl2 = ''
	+  '<div id="ssl-2">'
		+  '<form action="https://www.login.secomtrust.net/customer/customer/pfw/CertificationPage.do" name="CertificationPageForm" method="post" target="_blank"><input type="image" src="/secom_L.gif" width="68" height="132" style="margin: 0 0 0 50px; border: none;" name="Sticker" alt="クリックして証明書の内容をご確認ください" oncontextmenu="return false"><input type="hidden" name="Req_ID" value="3019102793"></form>当オンラインショッピングでは、実在性の証明とプライバシー保護のため、「セコムトラストネット株式会社」のSSLサーバ証明書を使用し、SSL暗号化通信を実現しています。上記セキュアシールのクリックにより、サーバ証明書の検証結果をご確認ください。'
	+  '</div>'


common_footer = ''
	+  '<div id="footer">'
		+  '<ul class="none"><li><a href="info.php#outline">会社概要</a></li><li><a href="info.php#pay_carriage">お支払い・送料について</a></li><li><a href="info.php#returned">返品・交換について</a></li><li><a href="privacy_policy.php">個人情報保護方針</a></li></ul>'
	+  '<div>'


function confirmRemoveCart(id){
	if(confirm("この商品を削除します。\n本当に削除してよろしいですか？")) {
		self.document.formRemove.cid.value = id;
		self.document.formRemove.submit();
		return true;
	}
	return false;
}
