document.write("<style type=text/css>");
if(navigator.appVersion.indexOf("Mac") != -1){document.write("td {font-size:10px}");}
else{document.write("td{font-size:10pt}");}
document.write("a:link {color:#6666CC}");
document.write("a:visited {color:#6666CC}");
document.write("a:active {color:#FF6699}");
document.write("a:hover {color:#FF6699}");
document.write("</style>");

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_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v3.0
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); return x;
}file:///Macintosh%20HD/Desktop%20Folder/少納言/comp_aisatu.htm
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];}
}

function fc_oem() {
window.open('oem.htm','window','scrollbars=auto,width=430,height=350');
}

function win_op(page,wid,hei) {
window.open(page,'window','scrollbars=1,width='+wid+',height='+hei);
}

function fc_window(page,wid,hei) {
window.open(page,'window','scrollbars=1,resizable=no,width='+wid+',height='+hei);
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function photo(p){
window.open('window.html?'+p,'window','scrollbars=auto,width=600,height=420');
}

//if(top.location == self.location){ top.location.href = "index_j.htm"; }

function link(page) {
if(page=="home"){location.href="index.htm"; }
else if(page=="contact"){location.href="contact.htm";}
else if(page=="english"){location.href="#";}
else if(page=="company"){location.href="company_1.htm";}
else if(page=="oem_kenkou"){location.href="oem_1.htm";}
else if(page=="oem_iyaku"){location.href="iyaku/index.htm"; }
else if(page=="shien"){location.href="http://www.api3838.co.jp/maruhana/"; }
}

my_url="http://www.api3838.co.jp/";
my_name="アピ株式会社";
function book_mark(){
if(document.all){window.external.addFavorite(my_url,my_name); }
}
