var o = navigator.platform.toUpperCase();
document.write("<style type='text/css'>\n");
if(o.indexOf("MAC") >= 0){
	document.write(".f1,h1 {font-size: 8px;}\n");
	document.write(".f1lh {font-size: 8px;line-height : 146%;}\n");
	document.write(".f2 {font-size: 10px;}\n");
	document.write(".f2lh {font-size: 10px;line-height : 146%;}\n");
	document.write(".f3 {font-size: 12px;}\n");
	document.write(".f3lh, .small {font-size: 12px;line-height : 146%;}\n");
	document.write(".f4,small {font-size: 13px;}\n");
	document.write(".f4lh,h2,h3,h4,h5,h6,h7,p,li,dt,dd,caption,address,th,td,b, .lnv dd {font-size: 14px;line-height : 146%;}\n");
	document.write(".f5 {font-size: 16px;}\n");
	document.write(".f5lh {font-size: 16px;line-height : 146%;}\n");
	document.write(".f6 {font-size: 18px;}\n");
	document.write(".f6lh {font-size: 18px;line-height : 146%;}\n");

}else if(o.indexOf("WIN") >=0){
	if(navigator.appVersion.charAt(0)==4){
		if(navigator.appVersion.indexOf("MSIE 6") !=-1||navigator.appVersion.indexOf("MSIE 7") !=-1){
			document.write(".f1,h1 {font-size: xx-small;}\n");
			document.write(".f1lh {font-size: xx-small;line-height : 140%;}\n");
			document.write(".f2 {font-size: xx-small;}\n");
			document.write(".f2lh {font-size: xx-small;line-height : 180%;}\n");
			document.write(".f3 {font-size: x-small;}\n");
			document.write(".f3lh, .small {font-size: x-small;line-height : 130%;}\n");
			document.write(".f4,small {font-size: small;}\n");
			document.write(".f4lh,h2,h3,h4,h5,h6,h7,p,li,dt,dd,caption,address,th,td,b, .lnv dd {font-size: small;line-height : 140%;}\n");
			document.write(".f5 {font-size: medium;}\n");
			document.write(".f5lh {font-size: medium;line-height : 146%;}\n");
			document.write(".f6 {font-size: large;}\n");
			document.write(".f6lh {font-size: large;line-height : 146%;}\n");
		}
	}else{
		document.write(".f1,h1 {font-size: 8px;}\n");
		document.write(".f1lh {font-size: 8px;line-height : 146%;}\n");
		document.write(".f2 {font-size: 9px;}\n");
		document.write(".f2lh {font-size: 9px;line-height : 130%;}\n");
		document.write(".f3 {font-size: 11px;}\n");
		document.write(".f3lh, .small {font-size: 11px;line-height : 146%;}\n");
		document.write(".f4,small {font-size: 13px;}\n");
		document.write(".f4lh,h2,h3,h4,h5,h6,h7,p,li,dt,dd,caption,address,th,td,b, .lnv dd {font-size: 13px;line-height : 146%;}\n");
		document.write(".f5 {font-size: 16px;}\n");
		document.write(".f5lh {font-size: 16px;line-height : 146%;}\n");
		document.write(".f6 {font-size: 18px;}\n");
		document.write(".f6lh {font-size: 18px;line-height : 170%;}\n");
	}
}
document.write("</style>\n");

//new window//
function SwapImage(sId,sImageSrc){
	document.getElementById(sId).src = sImageSrc;
}

function f_open_coupon(){
	window.open("coupon.html","_new","width=500,status=1, scrollbars=0, resizable=1, toolbar=0");
}
function f_open_coupon01(){
	window.open("../coupon.html","_new","width=500,status=1, scrollbars=0, resizable=1, toolbar=0");
}
function f_open_zassi(){
	window.open("zassi.html","_new","width=500,status=1, scrollbars=0, resizable=1, toolbar=0");
}
function f_open_canpaign01(){
	window.open("campaign/index.html","_new","width=580,status=1, scrollbars=1, resizable=1, toolbar=0");
}
function f_open_airwave01(){
	window.open("air_wave/index.html","_new","width=580,status=1, scrollbars=1, resizable=1, toolbar=0");
}
function f_open_kituke01(){
	window.open("kituke/index.html","_new","width=500,height=550,status=1, scrollbars=1, resizable=1, toolbar=0");
}
function f_open_ionwather01(){
	window.open("ion_wather/index.html","_new","width=580,status=1, scrollbars=1, resizable=1, toolbar=0");
}
function f_open_bika01(){
	window.open("bika/index.html","_new","width=580,status=1, scrollbars=1, resizable=1, toolbar=0");
}
function f_open_stylingad01(){
	window.open("../stylingad/index.html","_new","width=580,height=660,status=1, scrollbars=0, resizable=1, toolbar=0");
}

function f_open_canpaign02(){
	window.open("../campaign/index.html","_new","width=580,status=1, scrollbars=1, resizable=1, toolbar=0");
}
function f_open_airwave02(){
	window.open("../air_wave/index.html","_new","width=580,status=1, scrollbars=1, resizable=1, toolbar=0");
}
function f_open_canpaign03(){
	window.open("../../campaign/index.html","_new","width=580,status=1, scrollbars=1, resizable=1, toolbar=0");
}
function f_open_airwave03(){
	window.open("../../air_wave/index.html","_new","width=580,status=1, scrollbars=1, resizable=1, toolbar=0");
}
function f_open_blog(){
	window.open("blog/index.html","_new","width=580,status=1, scrollbars=1, resizable=1, toolbar=0");
}

function f_open_blog2(){
	window.open("../blog/index.html","_new","width=580,status=1, scrollbars=1, resizable=1, toolbar=0");
}

function f_open_mobile(){
	window.open("mobile.html","_new","width=300,height=300,status=1, scrollbars=0, resizable=1, toolbar=0");
}
function f_open_inphenom01(){
	window.open("inphenom/index.html","_new","width=580,status=1, scrollbars=1, resizable=1, toolbar=0");
}


//preload//
function preload()
{
	prIMG = new Image();
	prIMG.src = "../../common/back_ind02.gif";
}
function setImgSrc(imgURL)
{
	document.myIMG.src = imgURL;
}

//top topic contens//
function preload01()
{
	prIMG = new Image();
	prIMG.src = "img/pt_ov.jpg";
}
function setImgSrc01(imgURL)
{
	document.myIMG01.src = imgURL;
}

function preload02()
{
	prIMG = new Image();
	prIMG.src = "img/sche_ov.jpg";
}
function setImgSrc02(imgURL)
{
	document.myIMG02.src = imgURL;
}

function preload03()
{
	prIMG = new Image();
	prIMG.src = "img/hair_oV.jpg";
}

function setImgSrc03(imgURL)
{
	document.myIMG03.src = imgURL;
}
