function heading(){

koukoku = '<iframe src="http://www.pet-ei.com/adsence.html" name="adsence" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" style="width:468px; height:60px; margin:0; padding:0;"></iframe>';

htmlmaker = '';
htmlmaker += '<div style="width:806px; margin-left:9px; font-size:9pt; line-height:15pt; color:#ff3300;">ペットのコミュニティサイト　プチラテ</div>';
htmlmaker += '<table border="0" cellpadding="0" cellspacing="0" class="menus"><tr>';
htmlmaker += '<td width="190px" rowspan="2"><a href="http://www.pet-ei.com/"><img src="http://www.pet-ei.com/imgs/logo.jpg" width="190" height="100" border="0" alt="プチラテ" /></a></td>';
htmlmaker += '<td style="width:498px; text-align:center; vertical-align:middle;">' + koukoku + '</td>';
htmlmaker += '<td width="106px" rowspan="2" valign="bottom">';
htmlmaker += '<form method="get" action="http://www.google.co.jp/search" target="_blank" style="margin:0; padding:0;">';
htmlmaker += '<input type="hidden" name="ie" value="UTF-8" />';
htmlmaker += '<input type="hidden" name="oe" value="UTF-8" />';
htmlmaker += '<input type="hidden" name="hl" value="ja" />';
htmlmaker += '<input type="hidden" name="domains" value="http://www.pet-ei.com/" />';
htmlmaker += '<input type="hidden" name="sitesearch" value="http://www.pet-ei.com/" />';
htmlmaker += '<a href="http://www.google.co.jp/" target="_blank"><img src="http://www.pet-ei.com/imgs/Logo_25wht.gif" alt="Google" border="0" style="margin:5px 0 0"></a><br />';
htmlmaker += '<input type="text" name="q" size="18" maxlength="255" value="" class="googlequery" style="width:96px;" /><br />';
htmlmaker += '<input type="submit" name="btnG" value=" Google 検索 " class="googlesubmit" style="width:96px;" />';
htmlmaker += '</form></td></tr>';
htmlmaker += '<tr><td width="498px" valign="top" nowrap="nowrap">';
htmlmaker += '<a href="http://www.pet-ei.com/jobnavi/index.html"><img src="http://www.pet-ei.com/imgs/nbtn01.gif" width="83" height="26" border="0" alt="求人検索" /></a>';
htmlmaker += '<a href="http://www.pet-ei.com/petnavi/index.html"><img src="http://www.pet-ei.com/imgs/nbtn02.gif" width="83" height="26" border="0" alt="店舗検索" /></a>';
htmlmaker += '<a href="http://www.pet-ei.com/foster/"><img src="http://www.pet-ei.com/imgs/nbtn03.gif" width="83" height="26" border="0" alt="里親募集" /></a>';
htmlmaker += '<a href="http://www.pet-ei.com/life/"><img src="http://www.pet-ei.com/imgs/btn02.gif" width="83" height="26" border="0" alt="ペットライフ" /></a>';
htmlmaker += '<a href="http://www.pet-ei.com/dictionary/"><img src="http://www.pet-ei.com/imgs/nbtn04.gif" width="83" height="26" border="0" alt="ペット図鑑" /></a>';
htmlmaker += '<a href="http://www.pet-ei.com/fortunetell/index.html"><img src="http://www.pet-ei.com/imgs/btn06.gif" width="83" height="26" border="0" alt="ペット占い" /></a></td></tr>';
htmlmaker += '</table>';

if(document.all){document.all.banner.innerHTML = htmlmaker;}
else if(document.getElementById){document.getElementById("banner").innerHTML = htmlmaker;}



lanker = '';
lanker += '<object data="http://www.pet-ei.com/imgs/lank.swf" type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=3,0,0,0" width="170px" height="240px" id="lank">';
lanker += '<param name="movie" value="http://www.pet-ei.com/imgs/lank.swf" />';
lanker += '<param name="menu" value="false" />';
lanker += '<param name="quality" value="high" />';
lanker += '<param name="scale" value="noscale" />';
lanker += '<param name="salign" value="lt" />';
lanker += '<embed src="http://www.pet-ei.com/imgs/lank.swf" swliveconnect="false" width="170px" height="240px" quality="autohigh" bgcolor="#ffffff" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash"></embed>';
lanker += '</object>';

if(document.all){document.all.lank.innerHTML = lanker;}
else if(document.getElementById){document.getElementById("lank").innerHTML = lanker;}
}

function ovn(v,w){
document.images[w].src= v + 'on.gif';
}
function ovt(v,w){
document.images[w].src= v + '.gif';
} 


function hyj(a){
	if(document.all){cnts = document.all(a).style;}
	else if(document.getElementById){cnts = document.getElementById(a).style;}

	if(cnts.display == "none"){cnts.display = "block";}
	else{cnts.display = "none";}
}


window.onload = heading;

