var isNS = ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 4));
var _all = '';
var _style = '';
var wwidth, wheight;
var id1, id2, id3;
var x = 10;
var y = 10;
var x1, y1;
var x2;
if(!isNS) {
	_all='all.';
	_style='.style';
}
function getwindowsize() {
	clearTimeout(id1);
	if (isNS) {
		wwidth = window.innerWidth - 55;
		wheight = window.innerHeight - 50;
		x1=wwidth/2+260;
	} else {
		wwidth = document.body.clientWidth - 55;
		wheight = document.body.clientHeight - 50;
		x1=wwidth/2+260;
	}
	animate();
}
function animate() {
	eval('x');
	eval('y');
	if (isNS) {
		pic1.moveTo((x),(y))
	} else {
		pic1.pixelLeft = x;
		pic1.pixelTop = y+document.body.scrollTop;
	}
	id1 = setTimeout('animate()', 30);
}
function showPic(sName,sPic)
{
	var idN
	
	idN=sPic;

	idN.src="img/"+sName;
}

function Addme(){ 
	var url
	var title
	url = "http://www.proit.co.jp"; 
	title = "PROIT"; 
	window.external.AddFavorite(url,title); 
}

function createTop1()
{
	document.write("<table width='780' align='center' cellspacing='0' border=0 height='30' cellpadding='0'><tr>");	
	document.write("<td width='550'> </td>");
	document.write("<td width='79'><a href='index.htm' class='top2'><img src='img/h.gif' border='0' align='absmiddle'><b>ホーム</b></a></td>");
	document.write("<td width='82'><a href='mailto:proit_labo3525@proit.co.jp' class='top2'><img src='img/e.gif' align='absmiddle'><b>Eメール</b></a></td>");
	document.write("<td width='69'><a href='#' onClick='history.back();' class='top2'><img src='img/back.gif' border='0' align='absmiddle'><b>戻る</b></a></td>");
	document.write("</tr></table>");
}

function createTop2()
{
	document.write("<table width='780' align='center' cellspacing='0' border=0 height='30' cellpadding='0'><tr>");	
	document.write("<td width='540'> </td>");
	document.write("<td width='80'><a href='index.htm' class='top2'><img src='img/h.gif' border='0' align='absmiddle'><b>ホーム</b></a></td>");
	document.write("<td width='90'><a href='#' onClick='openWin();' class='top2'><img src='img/e.gif' align='absmiddle'><b>お問合せ</b></a></td>");
	document.write("<td width='70'><a href='#' onClick='history.back();' class='top2'><img src='img/back.gif' border='0' align='absmiddle'><b>戻る</b></a></td>");
	document.write("</tr></table>");
}
function createTop3()
{
	document.write("<table width='780' align='center' cellspacing='0' border=0 height='30' cellpadding='0'><tr>");	
	document.write("<td width='320'> </td>");
	document.write("<td width='75'><a href='index.htm' class='top2'><img src='img/h.gif' border='0' align='absmiddle'><b>ホーム</b></a></td>");
	document.write("<td width='90'><a href='#' onClick='openWin();' class='top2'><img src='img/e.gif' align='absmiddle'><b>お問合せ</b></a></td>");
	document.write("<td width='110'><a href='hdd_customer.htm' class='top2'><img src='img/sound.gif' align='absmiddle'><b>お客様の声</b></a></td>");
	document.write("<td width='120'><a href='faq.htm' class='top2'><img src='img/question.gif' align='absmiddle'><b>良くある質問</b></a></td>");
	document.write("<td width='70'><a href='#' onClick='history.back();' class='top2'><img src='img/back.gif' border='0' align='absmiddle'><b>戻る</b></a></td>");
	document.write("</tr></table>");
}
function createTop4()
{
	document.write("<table width='780' align='center' cellspacing='0' border=0 height='30' cellpadding='0'><tr>");	
	document.write("<td width='430'> </td>");
	document.write("<td width='75'><a href='index.htm' class='top2'><img src='img/h.gif' border='0' align='absmiddle'><b>ホーム</b></a></td>");
	document.write("<td width='90'><a href='#' onClick='openWin();' class='top2'><img src='img/e.gif' align='absmiddle'><b>お問合せ</b></a></td>");
	document.write("<td width='120'><a href='faqrepair.htm' class='top2'><img src='img/question.gif' align='absmiddle'><b>良くある質問</b></a></td>");
	document.write("<td width='70'><a href='#' onClick='history.back();' class='top2'><img src='img/back.gif' border='0' align='absmiddle'><b>戻る</b></a></td>");
	document.write("</tr></table>");
}
function createTop5()
{
	document.write("<table width='780' align='center' cellspacing='0' border=0 height='30' cellpadding='0'><tr>");	
	document.write("<td width='430'> </td>");
	document.write("<td width='75'><a href='index.htm' class='top2'><img src='img/h.gif' border='0' align='absmiddle'><b>ホーム</b></a></td>");
	document.write("<td width='90'><a href='#' onClick='openWin();' class='top2'><img src='img/e.gif' align='absmiddle'><b>お問合せ</b></a></td>");
	document.write("<td width='120'><a href='hdd_down.htm' class='top2'><img src='img/d.gif' align='absmiddle'><b>ダウンロード</b></a></td>");
	document.write("<td width='70'><a href='#' onClick='history.back();' class='top2'><img src='img/back.gif' border='0' align='absmiddle'><b>戻る</b></a></td>");
	document.write("</tr></table>");
}
function createTop6()
{
	document.write("<table width='780' align='center' cellspacing='0' border=0 height='30' cellpadding='0'><tr>");	
	document.write("<td width='545'> </td>");
	document.write("<td width='75'><a href='index.htm' class='top2'><img src='img/h.gif' border='0' align='absmiddle'><b>ホーム</b></a></td>");
	document.write("<td width='90'><a href='#' onClick='openWinApri();' class='top2'><img src='img/e.gif' align='absmiddle'><b>お問合せ</b></a></td>");
	document.write("<td width='70'><a href='#' onClick='history.back();' class='top2'><img src='img/back.gif' border='0' align='absmiddle'><b>戻る</b></a></td>");
	document.write("</tr></table>");
}
function createTop7()
{
	document.write("<table width='780' align='center' cellspacing='0' border=0 height='30' cellpadding='0'><tr>");	
	document.write("<td width='550'><font color='#FFFFFF'>シャープ ドアスコープカメラセット  リビングドアスコープ HN-D150 HN-D100を販売致します。</font></td>");
	document.write("<td width='79'><a href='index.htm' class='top2'><img src='img/h.gif' border='0' align='absmiddle'><b>ホーム</b></a></td>");
	document.write("<td width='82'><a href='mailto:proit_labo3525@proit.co.jp' class='top2'><img src='img/e.gif' align='absmiddle'><b>Eメール</b></a></td>");
	document.write("<td width='69'><a href='#' onClick='history.back();' class='top2'><img src='img/back.gif' border='0' align='absmiddle'><b>戻る</b></a></td>");
	document.write("</tr></table>");
}
function createTop8()
{
	document.write("<table width='780' align='center' cellspacing='0' border=0 height='30' cellpadding='0'><tr>");	
	document.write("<td width='520'> </td>");
	document.write("<td width='80'><a href='index.htm' class='top2'><img src='img/h.gif' border='0' align='absmiddle'><b>ホーム</b></a></td>");
	document.write("<td width='110'><a href='../cgi-bin/cart.cgi' class='top2'><img src='img/c.gif' align='absmiddle'><b>買い物カゴ</b></a></td>");
	document.write("<td width='70'><a href='#' onClick='history.back();' class='top2'><img src='img/back.gif' border='0' align='absmiddle'><b>戻る</b></a></td>");
	document.write("</tr></table>");
}
function showHref(sId)
{
	var idN
	
	idN=sId;

	idN.href="mailto:proit_labo3525@proit.co.jp";
}
function showHrefLabo(sId)
{
	var idN
	
	idN=sId;

	idN.href="mailto:proit_labo3525@proit.co.jp";
}
function showHidden(){
	document.write("<input type='hidden' name='mailto' value='proit_labo3525@proit.co.jp'>");
	document.write("<input type='hidden' name='location' value='http://www.proit.co.jp/result.htm'>");
}
function showHiddenApri(){
	document.write("<input type='hidden' name='mailto' value='proit_labo3525@proit.co.jp'>");
	document.write("<input type='hidden' name='location' value='http://www.proit.co.jp/result.htm'>");
}
function moveover(tName)
{
	tName.className="box";
}
function moveout(tName)
{
	tName.className="nobox";
}
function createHeader(txt)
{
	document.write("<table width='780' align='center' cellspacing='0' border=0 valign='top' height='24' cellpadding='0'><tr>");
	document.write("<td bgcolor='#014694' width='65'></td><td bgcolor='#014694' width='650'>");
	createHeaderNew(txt);
	document.write("</td><td width='65' bgcolor='#014694'></td></tr></table>");
}
function createHeaderNew(txt)
{
	var colo
	colo='#F9B068';
	
	document.write("<table width='650' cellspacing='0' cellpadding='0' border=0 align='center' height='18' bgcolor='#014694'><tr>");
	
	document.write("<td align='center' width='2'><div><font color='#FFFFFF'>|</font></div></td>");
	if (txt=="company"){
		document.write("<td align='center' id='t1' width='67'><div><font color='"+colo+"'><b>会社概要</b></font></div></td>");
	}
	else{
		document.write("<td align='center' id='t1' width='67'><div><font color='#FFFFFF'><a href='company.htm' onmouseover='moveover(t1);' onmouseout='moveout(t1);' class='top1'>会社概要</a></font></div></td>");
	}	
	document.write("<td align='center' width='2'><div><font color='#FFFFFF'>|</font></div></td>");
	if (txt=="data"){
		document.write("<td align='center' id='t2' width='80'><div><font color='"+colo+"'><b>データ復旧</b></font></div></td>");
	}
	else{
		document.write("<td align='center' id='t2' width='80'><div><font color='#FFFFFF'><a href='paso_top.htm' onmouseover='moveover(t2);' onmouseout='moveout(t2);' class='top1'>データ復旧</a></font></div></td>");
	}	
	document.write("<td align='center' width='2'><div><font color='#FFFFFF'>|</font></div></td>");
	if (txt=="computer"){
		document.write("<td align='center' width='94' id='t3'><div><font color='"+colo+"'><b>パソコン修理</b></font></div></td>");
	}
	else{
		document.write("<td align='center' width='94' id='t3'><div><font color='#FFFFFF'><a href='repair.htm' onmouseover='moveover(t3);' onmouseout='moveout(t3);' class='top1'>パソコン修理</a></font></div></td>");
	}	
	document.write("<td align='center' width='2'><div><font color='#FFFFFF'>|</font></div></td>");
	if (txt=="application"){
		document.write("<td align='center' width='95' id='t4'><div><font color='"+colo+"'><b>システム設計</b></font></div></td>");
	}
	else{
		document.write("<td align='center' width='95' id='t4'><div><font color='#FFFFFF'><a href='apri.htm' class='top1' onmouseover='moveover(t4);' onmouseout='moveout(t4);'>システム設計</a></font></div></td>");
	}	
	document.write("<td align='center' width='2'><div><font color='#FFFFFF'>|</font></div></td>");
	if (txt=="image"){
		document.write("<td align='center' width='67' id='t5'><div><font color='"+colo+"'><b>画像処理</b></font></div></td>");
	}
	else{
		document.write("<td align='center' width='67' id='t5'><div><font color='#FFFFFF'><a href='gazou.htm' class='top1' onmouseover='moveover(t5);' onmouseout='moveout(t5);'>画像処理</a></font></div></td>");
	}	
	document.write("<td align='center' width='2'><div><font color='#FFFFFF'>|</font></div></td>");
	if (txt=="wireless"){
		document.write("<td align='center' width='66' id='t6'><div><font color='"+colo+"'><b>無線LED</b></font></div></td>");
	}
	else{
		document.write("<td align='center' width='66' id='t6'><div><font color='#FFFFFF'><a href='musen.htm' class='top1' onmouseover='moveover(t6);' onmouseout='moveout(t6);'>無線LED</a></font></div></td>");
	}
	document.write("<td align='center' width='2'><div><font color='#FFFFFF'>|</font></div></td>");
	if (txt=="defend"){
		document.write("<td align='center' width='67' id='t7'><div><font color='"+colo+"'><b>販売商品</b></font></div></td>");
	}
	else{
		document.write("<td align='center' width='67' id='t7'><div><font color='#FFFFFF'><a href='defend.htm' class='top1' onmouseover='moveover(t7);' onmouseout='moveout(t7);'>販売商品</a></font></div></td>");
	}	
	document.write("<td align='center' width='2'><div><font color='#FFFFFF'>|</font></div></td>");
	if (txt=="protect"){
		document.write("<td align='center' width='96' id='t8'><div><font color='"+colo+"'><b>個人情報保護</b></font></div></td>");
	}
	else{
		document.write("<td align='center' width='96' id='t8'><div><font color='#FFFFFF'><a href='protect.htm' class='top1' onmouseover='moveover(t8);' onmouseout='moveout(t8);'>個人情報保護</a></font></div></td>");
	}	
	document.write("<td align='center' width='2'><div><font color='#FFFFFF'>|</font></div></td></tr></table>");
}

function createDate()
{
	var months=new Array(13);
	months[1]="1月";
	months[2]="2月";
	months[3]="3月";
	months[4]="4月";
	months[5]="5月";
	months[6]="6月";
	months[7]="7月";
	months[8]="8月";
	months[9]="9月";
	months[10]="10月";
	months[11]="11月";
	months[12]="12月";
	
	var week=new Array(8);
	week[0]="日曜日";
	week[1]="月曜日";
	week[2]="火曜日";
	week[3]="水曜日";
	week[4]="木曜日";
	week[5]="金曜日";
	week[6]="土曜日";
	
	
	var time=new Date();
	var lmonth=months[time.getMonth() + 1];
	var date=time.getDate();
	var day=time.getDay();		
	document.write("<div align='center'><font color='#FAFABF'><b>" + lmonth);
	document.write(date + "日 ");
	document.write(week[day] + "</font></b></div>");
}

function createBottom()
{
	document.write("<table width='100%' border='0' height='97' cellspacing='0'>");
	document.write("<tr>");
	document.write("<td height='50' valign='middle' align=center><font color='#424242'><b>お見積もり、お問い合わせE-MAILはお気軽に→</b></font><A href='mailto:proit_labo3525@proit.co.jp'><img src='img/mail.jpg' align='absmiddle' style='border:0px solid transparent'></a></td>");
	document.write("</tr>");
	document.write("<tr><td height='7' align='center'><img src='img/spacer_gray.gif' width='100%' height='1'></td></tr>");
	document.write("<tr>");
	document.write("<td align=center valign='top' style='font-family: ＭＳ Ｐゴシック;font-size:11px;color: #424242'>copyright 2007 proit Co.,Ltd ALL Rights Reserved</td>");
	document.write("</tr></table>");
}
function createBottom1()
{
	document.write("<table width='100%' border='0' height='97' cellspacing='0'>");
	document.write("<tr>");
	document.write("<td height='50' valign='middle' align=center><font color='#DA0000'><b>お見積もり、お問い合わせE-MAILはお気軽に→</b></font><A href='mailto:proit_labo3525@proit.co.jp'><img src='img/mail1.jpg' align='absmiddle' style='border:0px solid transparent'></td>");
	document.write("</tr>");
	document.write("<tr><td height='7' align='center'><img src='img/spacer_gray.gif' width='100%' height='1'></td></tr>");
	document.write("<tr>");
	document.write("<td align=center valign='top' style='font-family: ＭＳ Ｐゴシック;font-size:11px;color: #424242'>copyright 2007 proit Co.,Ltd ALL Rights Reserved</td>");
	document.write("</tr></table>");
}
function createBottom2()
{
	document.write("<table width='100%' border='0' cellspacing='0'>");
	document.write("<tr>");
	document.write("<td height='50' valign='middle' align=center><font color='#DA0000'><b>お見積もり、お問い合わせE-MAILはお気軽に→</b></font><A href='mailto:proit_labo3525@proit.co.jp'><img src='img/mail1.jpg' align='absmiddle' style='border:0px solid transparent'></td>");
	document.write("</tr></table>");
}
function createBottom3()
{
	document.write("<table width='100%' border='0' height='97' cellspacing='0'>");
	document.write("<tr>");
	document.write("<td height='50' valign='middle' align=center><font color='#424242'><b>お見積もり、お問い合わせE-MAILはお気軽に→</b></font><a href='#' onClick='openWinApri();' class='top2'><img src='img/e.gif' align='absmiddle'></a></td>");
	document.write("</tr>");	
	document.write("<tr>");
	document.write("<td height='50' valign='middle' align=center><font color='#DA0000'><b>お電話でのお問い合わせ　03-3863-2495　株式会社PROIT　システム開発事業部迄</font></td>");
	document.write("</tr>");
	document.write("<tr><td height='7' align='center'><img src='img/spacer_gray.gif' width='100%' height='1'></td></tr>");
	document.write("<tr>");
	document.write("<td align=center valign='top' style='font-family: ＭＳ Ｐゴシック;font-size:11px;color: #424242'>copyright 2007 proit Co.,Ltd ALL Rights Reserved</td>");
	document.write("</tr></table>");
}
function createBottom4()
{
	document.write("<table width='100%' border='0' cellspacing='0'>");
	document.write("<tr>");
	document.write("<td height='50' valign='middle' align=center>copyright 2007 proit Co.,Ltd ALL Rights Reserved</td>");
	document.write("</tr></table>");
}
function createBottom5()
{
	document.write("<table width='100%' border='0' height='97' cellspacing='0'>");
	document.write("<tr>");
	document.write("<td height='50' valign='middle' align=center><font color='#424242'><b>お見積もり、お問い合わせE-MAILはお気軽に→</b></font><A href='mailto:proit_labo3525@proit.co.jp'><img src='../img/mail.jpg' align='absmiddle' style='border:0px solid transparent'></a></td>");
	document.write("</tr>");
	document.write("<tr><td height='7' align='center'><img src='../img/spacer_gray.gif' width='100%' height='1'></td></tr>");
	document.write("<tr>");
	document.write("<td align=center valign='top' style='font-family: ＭＳ Ｐゴシック;font-size:11px;color: #424242'>copyright 2007 proit Co.,Ltd ALL Rights Reserved</td>");
	document.write("</tr></table>");
}
function createBottom6()
{
	document.write("<table width='100%' border='0' height='97' cellspacing='0'>");
	document.write("<tr>");
	document.write("<td height='50' valign='middle' align=center><font color='#424242'><b>お見積もり、お問い合わせE-MAILはお気軽に→</b></font><A href='mailto:proit_labo3525@proit.co.jp'><img src='img/mail.jpg' align='absmiddle' style='border:0px solid transparent'></a></td>");
	document.write("</tr>");
	document.write("<tr><td height='7' align='center'><img src='img/spacer_gray.gif' width='100%' height='1'></td></tr>");
	document.write("<tr>");
	document.write("<td align=center valign='top' style='font-family: ＭＳ Ｐゴシック;font-size:11px;color: #424242'>copyright 2007 proit Co.,Ltd ALL Rights Reserved</td>");
	document.write("</tr></table>");
}
function createBottom7()
{
	document.write("<table width='100%' border='0' cellspacing='0'>");
	document.write("<tr>");
	document.write("<td height='50' valign='middle' align=center><b>お見積もり、お問い合わせE-MAILはお気軽に→</b><A href='mailto:proit_labo3525@proit.co.jp'><img src='../img/mail.jpg' align='absmiddle' style='border:0px solid transparent'></td>");
	document.write("</tr>");
	document.write("<tr><td height='7' align='center'><img src='../img/spacer_gray.gif' width='100%' height='1'></td></tr>");
	document.write("<tr>");
	document.write("<td align=center valign='top' style='font-family: ＭＳ Ｐゴシック;font-size:11px;color: #424242'>copyright 2007 proit Co.,Ltd ALL Rights Reserved</td>");
	document.write("</tr></table>");
}
function check(){
	if(form1.name1.value==""){
		alert("名前を入力してください！");
		document.form1.name1.focus();
		return false;
	}
	else if(form1.zip.value==""){
		alert("郵便番号を入力してください！");
		form1.zip.focus();
		return false;
	}
	else if(form1.address.value==""){
		alert("住　所を入力してください！");
		form1.address.focus();
		return false;
	}
	else if(form1.tel.value==""){
		alert("ご連絡の電話番号を入力してください！");
		form1.tel.focus();
		return false;
	}
	else if(form1.email.value==""){
		alert("メールアドレスを入力してください！");
		form1.email.focus();
		return false;
	}
	else if(form1.relation.value==""){
		alert("ご希望の連絡方法を入力してください！");
		form1.relation.focus();
		return false;
	}
	else if(form1.service.value==""){
		alert("ご希望のサービスを入力してください！");
		form1.service.focus();
		return false;
	}
	else if(form1.condition.value==""){
		alert("状　況を入力してください！");
		form1.condition.focus();
		return false;
	}
	else{
		form1.name1.name="02 名　前";
		form1.zip.name="04 郵便番号";
		form1.address.name="05 住　所";
		form1.tel.name="06 ご連絡の電話番号";
		form1.email.name="08 メールアドレス";
		form1.relation.name="11 ご希望の連絡方法";
		form1.service.name="13 ご希望のサービス";
		form1.condition.name="14 状　況";
		form1.subject.value=form1.name1.value;
		form1.fromtime.name="09 ご希望の連絡時間";
		form1.totime.name="10 ご希望の連絡時間";
		if(form1.fromtime.value!=""){
			form1.fromtime.value=form1.fromtime.value + "時から";
		}
		if(form1.totime.value!=""){
			form1.totime.value=form1.totime.value + "時まで";
		}
		form1.action="http://www.proit.co.jp/apps/formmail/";
		return true;
	}
}
function Apri_check(){
	if(form1.type.value=="0"){
		alert("開発希望の種類を入力してください！");
		document.form1.type.focus();
		return false;
	}
	else if(form1.company.value==""){
		alert("御社名を入力してください！");
		document.form1.company.focus();
		return false;
	}
	else if(form1.name1.value==""){
		alert("ご担当者名を入力してください！");
		document.form1.name1.focus();
		return false;
	}
	else if(form1.tel.value==""){
		alert("電話番号を入力してください！");
		form1.tel.focus();
		return false;
	}
	else{
		form1.type.name="01 開発希望の種類";
		form1.company.name="04 御社名";
		form1.name1.name="07 ご担当者名";
		form1.tel.name="08 電話番号";
		if(form1.year.value!=""){
			form1.nouhin.value=form1.year.value + "年";
		}
		if(form1.month.value!=""){
			form1.nouhin.value=form1.nouhin.value + form1.month.value + "月";
		}
		form1.year.value="";
		form1.month.value="";
		form1.nouhin.name="03 希望納期";
		form1.year.name=form1.nouhin.name;
		form1.month.name=form1.nouhin.name;
		if(form1.fromtime.value!=""){
			form1.jikan.value=form1.fromtime.value + "時から";
		}
		if(form1.totime.value!=""){
			form1.jikan.value=form1.jikan.value + form1.totime.value + "時まで";
		}
          	form1.fromtime.value="";
          	form1.totime.value="";
		form1.jikan.name="10 連絡時間のご希望";
		form1.fromtime.name=form1.jikan.name;
		form1.totime.name=form1.jikan.name;
		form1.action="http://www.proit.co.jp/apps/formmail/";
		return true;
	}
}
function showHiddenOrder(){
    document.write("<input type='hidden' name='subject' value='防犯システムの商品'>");
    document.write("<input type='hidden' name='title' value='注文'>");
	
	document.write("<input type='hidden' name='mailto' value='proit_labo3525@proit.co.jp'>");
	document.write("<input type='hidden' name='location' value='http://www.proit.co.jp/cgi-bin/result.cgi'>");
}
function order_email(){	
	form2.mailto.value=form2.mailto.value + "," + form2.メールアドレス.value;
		
	var str
	if(form2.お支払方法.value=="前払い銀行振込"){
		str= "（このメールは、配信専用のアドレスで配信されていますので\n決して返信なさらないで下さい。）\n\n"+form2.お名前.value +"\n\n株式会社ＰＲＯＩＴでございます。\nこの度は弊社販売のシャープ　リビングドアスコープをご注文いただき\nありがとうございました。\n下記口座に合計金額をお振込み下さい。\n振込み確認後、商品を発送させていただきます。\n※本メールにお心当りがない場合は、大変恐れ入りますが、弊社までご連絡\n  賜りたく、よろしくお願いいたします。\n\nお振込銀行： \nジャパンネット銀行（ジャパンネットギンコウ）　銀行コード　００３３\n本店営業部（ホンテン）（支店ｺ-ﾄﾞ　００１）\nカ）プロイト	\n普通預金口座　　　口座番号　６９３９７７１\n\n株式会社ＰＲＯＩＴ　０４５−５３１−５４４４\nインターネット事業部";
	}else{		
		str= "（このメールは、配信専用のアドレスで配信されていますので\n決して返信なさらないで下さい。）\n\n"+form2.お名前.value +"\n\n株式会社ＰＲＯＩＴでございます。\nこの度は弊社販売のシャープ　リビングドアスコープをご注文いただき\nありがとうございました。\n内容・在庫状況を確認したうえで、2営業日以内に当社より詳細をお伝え致しますので、今しばらくお待ちください。\n※本メールにお心当りがない場合は、大変恐れ入りますが、弊社までご連絡\n  賜りたく、よろしくお願いいたします。\n\n株式会社ＰＲＯＩＴ　０４５−５３１−５４４４\nインターネット事業部";
	}
	form2.title.value=str;	
	form2.お支払方法.name="04 お支払方法";
	form2.お名前.name="06 お名前";
	form2.メールアドレス.name="10 メールアドレス";
	form2.action="http://www.proit.co.jp/apps/formmail/";
	form2.submit();
}
function arriveDate()
{
	var months=new Array(13);
	months[1]="01月";
	months[2]="02月";
	months[3]="03月";
	months[4]="04月";
	months[5]="05月";
	months[6]="06月";
	months[7]="07月";
	months[8]="08月";
	months[9]="09月";
	months[10]="10月";
	months[11]="11月";
	months[12]="12月";
		
	var week=new Array(8);
	week[0]="日";
	week[1]="月";
	week[2]="火";
	week[3]="水";
	week[4]="木";
	week[5]="金";
	week[6]="土";
	
	var time=new Date();
	var lday,sday,ldate,i
		
	if(time.getDay()==6){
		i=4;
	}else if(time.getDay()==5){
		i=5;
	}else if(time.getDay()==0){
		i=3;
	}else{
		i=2;		
	}
	for(i;i<16;i++){
		lday=new Date(time.getYear(),time.getMonth(),time.getDate()+i);
		if(lday.getDate()<10){
			ldate="0"+lday.getDate();
		}else{
			ldate=lday.getDate();
		}		
		sday=lday.getYear()+"年"+months[lday.getMonth()+1]+ldate+"日"+" "+week[lday.getDay()];
				
		document.write("<option value='"+sday+"'>"+sday+"</option>");
	}	
	
}

function openWin(){
	window.open('email.htm','email','toolbar=no,scrollbars=yes,resizable=yes,width=650,height=650,left=200,top=50');
}
function openWinApri(){
	window.open('apri_email.htm','email','toolbar=no,scrollbars=yes,resizable=yes,width=650,height=600,left=200,top=50');
}
function chcolor(){ 
	if (document.all.c.style.color=="#e62d29"){
		document.all.c.style.color="#ff0ff0";
		showPic('arrow4.gif',b6);
	}
	else{
		document.all.c.style.color="#e62d29";
		showPic('arrow2.gif',b6);
	}
}
function chcolor1(){ 
	if (document.all.c.style.color=="#e62d29"){
		document.all.c.style.color="#ff0ff0";
	}
	else{
		document.all.c.style.color="#e62d29";
	}
}
function ftpDownload(fname)
{	
	//location.href="ftp://proit:h5eereev@www2s.biglobe.ne.jp/public_html/download/"+fname;
	window.open("../download/"+fname);
}
function createShopGuide(){	
	document.write("<table width='780' align='center' cellspacing='0' border=0 valign='top' height='24' cellpadding='0'><tr>");
	document.write("<td width='65'></td><td width='650'>");
	document.write("<img src='img/arrow.gif' border='0'><a href='cgi-bin/guide.htm' target='_blank'><b>お支払方法</b></a>&nbsp;&nbsp;<img src='img/arrow.gif' border='0'><a href='guide.htm#G2' target='_blank'><b>送料・配送</b></a>&nbsp;&nbsp;<img src='img/arrow.gif' border='0'><a href='public/regulations.pdf' target='_blank'><b>利用規約</b></a>");
	document.write("</td><td width='65'></td></tr></table>");
}
function test_email(strEmail) { 
	var myReg = /(\w+@\w+\.\w+)(\.{0,1}\w*)(\.{0,1}\w*)/i; 
	if(myReg.test(strEmail)) return true; 
	return false; 
}
function emailcheck(strEmail)
{
    if (strEmail.charAt(0)=="." || strEmail.charAt(0)=="@"|| strEmail.indexOf('@', 0) == -1 || strEmail.indexOf('.', 0) == -1 || strEmail.lastIndexOf("@") ==strEmail.length-1 || strEmail.lastIndexOf(".")==strEmail.length-1){      
      return false;
    }
 return true;
}  