/* Output Common css and Font css */
document.open();
document.write('<link rel="stylesheet" type="text/css" href="img/style.css">'); 
document.close();

function bikenavi(){
	document.open();
	document.write('<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr>');
	document.write('<td align="left"><a href="http://bike-navi.com/pc.html"><img src="img/bikenavilogo.gif" border="0" vspace="4" alt="バイクナビ-バイク売買情報サイト-"></a></td>');
	document.write('<td align="right"><a href="http://bike-navi.com/hokkaido/index.html" target="_blank"><img src="img/hokkaidobike-navi.gif" width="503" height="60" border="0"></a></td>');
	document.write('</tr></table>');
	document.close();
}

/* Window Pop Up */
function OpenPopupCenter(Link,WinTarget,breite,hoehe) { 
 if (!!window && Link) { 
 var iMyWidth = (window.screen.width/2) - (breite/2 + 10); 
 var iMyHeight = (window.screen.height/2) - (hoehe/2 + 50); 
 var winPopup = window.open(Link ,WinTarget,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,favorites=no,width=" + breite + ",height=" + hoehe + ",left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight); 
 winPopup.focus(); 
 }
}

/* Window Pop Up w/scrollbar */
function OpenPopupCenter2(Link,WinTarget,breite,hoehe) { 
 if (!!window && Link) { 
 var iMyWidth = (window.screen.width/2) - (breite/2 + 10); 
 var iMyHeight = (window.screen.height/2) - (hoehe/2 + 50); 
 var winPopup = window.open(Link ,WinTarget,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,favorites=no,width=" + breite + ",height=" + hoehe + ",left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight); 
 winPopup.focus(); 
 }
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
 window.open(theURL,winName,features);
}