// Swap Image JavaScript Document
// Browser Check
bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
if ((bName == "Netscape" && bVer >= 3) || (bName == "Microsoft Internet Explorer" && bVer >= 4) || (bName == "Safari" && bVer >= 1) || (bName == "Opera" && bVer >= 5))
{
	br = "true";
}
else
{
	br = "false";
}
// file directry level scan
filePath ="";
for(var i =flieLevel ;i>0;i--){
filePath += "";
}

// Images Setting
if (br== "true")
{
//global navi
	btnimg_01 = new Image(); btnimg_01.src = filePath+ 'img/uniqlock_btn_more_01.jpg';
	btnimg_01_o = new Image(); btnimg_01_o.src = filePath+ 'img/uniqlock_btn_more_over_01.jpg';
	btnimg_01_on = new Image(); btnimg_01_on.src = filePath+ 'img/uniqlock_btn_more_over_01.jpg';

	btnimg_07 = new Image(); btnimg_07.src = filePath+ 'img/uniqlock_btn_more_07.jpg';
	btnimg_07_o = new Image(); btnimg_07_o.src = filePath+ 'img/uniqlock_btn_more_over_07.jpg';
	btnimg_07_on = new Image(); btnimg_07_on.src = filePath+ 'img/uniqlock_btn_more_over_07.jpg';

	btnimg_12 = new Image(); btnimg_12.src = filePath+ 'img/uniqlock_btn_more_12.jpg';
	btnimg_12_o = new Image(); btnimg_12_o.src = filePath+ 'img/uniqlock_btn_more_over_12.jpg';
	btnimg_12_on = new Image(); btnimg_12_on.src = filePath+ 'img/uniqlock_btn_more_over_12.jpg';

	btnimg_16 = new Image(); btnimg_16.src = filePath+ 'img/uniqlock_btn_more_16.jpg';
	btnimg_16_o = new Image(); btnimg_16_o.src = filePath+ 'img/uniqlock_btn_more_over_16.jpg';
	btnimg_16_on = new Image(); btnimg_16_on.src = filePath+ 'img/uniqlock_btn_more_over_16.jpg';

	btnimg_20 = new Image(); btnimg_20.src = filePath+ 'img/uniqlock_btn_more_20.jpg';
	btnimg_20_o = new Image(); btnimg_20_o.src = filePath+ 'img/uniqlock_btn_more_over_20.jpg';
	btnimg_20_on = new Image(); btnimg_20_on.src = filePath+ 'img/uniqlock_btn_more_over_20.jpg';

	btnimg_22 = new Image(); btnimg_22.src = filePath+ 'img/uniqlock_btn_more_22.jpg';
	btnimg_22_o = new Image(); btnimg_22_o.src = filePath+ 'img/uniqlock_btn_more_over_22.jpg';
	btnimg_22_on = new Image(); btnimg_22_on.src = filePath+ 'img/uniqlock_btn_more_over_22.jpg';

	btnimg_24 = new Image(); btnimg_24.src = filePath+ 'img/uniqlock_btn_more_24.jpg';
	btnimg_24_o = new Image(); btnimg_24_o.src = filePath+ 'img/uniqlock_btn_more_over_24.jpg';
	btnimg_24_on = new Image(); btnimg_24_on.src = filePath+ 'img/uniqlock_btn_more_over_24.jpg';

	btnimg_26 = new Image(); btnimg_26.src = filePath+ 'img/uniqlock_btn_more_26.jpg';
	btnimg_26_o = new Image(); btnimg_26_o.src = filePath+ 'img/uniqlock_btn_more_over_26.jpg';
	btnimg_26_on = new Image(); btnimg_26_on.src = filePath+ 'img/uniqlock_btn_more_over_26.jpg';

	btnimg_30 = new Image(); btnimg_30.src = filePath+ 'img/uniqlock_btn_more_30.jpg';
	btnimg_30_o = new Image(); btnimg_30_o.src = filePath+ 'img/uniqlock_btn_more_over_30.jpg';
	btnimg_30_on = new Image(); btnimg_30_on.src = filePath+ 'img/uniqlock_btn_more_over_30.jpg';

	btnimg_35 = new Image(); btnimg_35.src = filePath+ 'img/uniqlock_btn_more_35.jpg';
	btnimg_35_o = new Image(); btnimg_35_o.src = filePath+ 'img/uniqlock_btn_more_over_35.jpg';
	btnimg_35_on = new Image(); btnimg_35_on.src = filePath+ 'img/uniqlock_btn_more_over_35.jpg';

	btnimg_38 = new Image(); btnimg_38.src = filePath+ 'img/uniqlock_btn_more_38.jpg';
	btnimg_38_o = new Image(); btnimg_38_o.src = filePath+ 'img/uniqlock_btn_more_over_38.jpg';
	btnimg_38_on = new Image(); btnimg_38_on.src = filePath+ 'img/uniqlock_btn_more_over_38.jpg';

	btnimg_41 = new Image(); btnimg_41.src = filePath+ 'img/uniqlock_btn_more_41.jpg';
	btnimg_41_o = new Image(); btnimg_41_o.src = filePath+ 'img/uniqlock_btn_more_over_41.jpg';
	btnimg_41_on = new Image(); btnimg_41_on.src = filePath+ 'img/uniqlock_btn_more_over_41.jpg';

	btnimg_44 = new Image(); btnimg_44.src = filePath+ 'img/uniqlock_btn_more_44.jpg';
	btnimg_44_o = new Image(); btnimg_44_o.src = filePath+ 'img/uniqlock_btn_more_over_44.jpg';
	btnimg_44_on = new Image(); btnimg_44_on.src = filePath+ 'img/uniqlock_btn_more_over_44.jpg';

	btnimg_49 = new Image(); btnimg_49.src = filePath+ 'img/uniqlock_btn_more_49.jpg';
	btnimg_49_o = new Image(); btnimg_49_o.src = filePath+ 'img/uniqlock_btn_more_over_49.jpg';
	btnimg_49_on = new Image(); btnimg_49_on.src = filePath+ 'img/uniqlock_btn_more_over_49.jpg';

	btnimg_53 = new Image(); btnimg_53.src = filePath+ 'img/uniqlock_btn_more_53.jpg';
	btnimg_53_o = new Image(); btnimg_53_o.src = filePath+ 'img/uniqlock_btn_more_over_53.jpg';
	btnimg_53_on = new Image(); btnimg_53_on.src = filePath+ 'img/uniqlock_btn_more_over_53.jpg';

	btnimg_55 = new Image(); btnimg_55.src = filePath+ 'img/uniqlock_btn_more_55.jpg';
	btnimg_55_o = new Image(); btnimg_55_o.src = filePath+ 'img/uniqlock_btn_more_over_55.jpg';
	btnimg_55_on = new Image(); btnimg_55_on.src = filePath+ 'img/uniqlock_btn_more_over_55.jpg';

	btnimg_58 = new Image(); btnimg_58.src = filePath+ 'img/uniqlock_btn_more_58.jpg';
	btnimg_58_o = new Image(); btnimg_58_o.src = filePath+ 'img/uniqlock_btn_more_over_58.jpg';
	btnimg_58_on = new Image(); btnimg_58_on.src = filePath+ 'img/uniqlock_btn_more_over_58.jpg';

    btnimg_59 = new Image(); btnimg_59.src = filePath+ 'img/uniqlock_btn_more_59.jpg';
    btnimg_59_o = new Image(); btnimg_59_o.src = filePath+ 'img/uniqlock_btn_more_over_59.jpg';
    btnimg_59_on = new Image(); btnimg_59_on.src = filePath+ 'img/uniqlock_btn_more_over_59.jpg';

    btnimg_65 = new Image(); btnimg_65.src = filePath+ 'img/uniqlock_btn_more_65.jpg';
    btnimg_65_o = new Image(); btnimg_65_o.src = filePath+ 'img/uniqlock_btn_more_over_65.jpg';
    btnimg_65_on = new Image(); btnimg_65_on.src = filePath+ 'img/uniqlock_btn_more_over_65.jpg';

    btnimg_70 = new Image(); btnimg_70.src = filePath+ 'img/uniqlock_btn_more_70.jpg';
    btnimg_70_o = new Image(); btnimg_70_o.src = filePath+ 'img/uniqlock_btn_more_over_70.jpg';
    btnimg_70_on = new Image(); btnimg_70_on.src = filePath+ 'img/uniqlock_btn_more_over_70.jpg';

    btnimg_99 = new Image(); btnimg_99.src = filePath+ 'img/uniqlock_btn_FPM.gif';
    btnimg_99_o = new Image(); btnimg_99_o.src = filePath+ 'img/uniqlock_btn_FPM_over.gif';
    btnimg_99_on = new Image(); btnimg_99_on.src = filePath+ 'img/uniqlock_btn_FPM_over.gif';

}
// Btn Mouse Over Check
function imgAct(imgName)
{
	if (br== "true"&&imgName!=fileCategory)
	{
		imgOv = eval("btn" + imgName + "_o.src");
		document[imgName].src = imgOv;
	}
}
// Btn Mouse Out Check
function imgInAct(imgName)
{
	if (br== "true"&&imgName!=fileCategory)
	{
		imgOff = eval("btn" + imgName + ".src");
		document[imgName].src = imgOff;
	}
}
// Btn Category Check
function activeButton()
{
	for(var i =6 ;i>0;i--)
	{
		if(i==1 || i==2 || i==3 || i==4 || i==5 || i==6)
		{
			reloadName='btnimg_0' + i;
			categorycheck='img_0'+i;
			if (fileCategory!=categorycheck)
			{
				imgreload = eval(reloadName + ".src");
				document[categorycheck].src = imgreload;
			}
			else
			{
				imgOn = eval(reloadName + "_on.src");
				document[categorycheck].src = imgOn;
			}
		}
	}
}
// Window Onload
window.onload = activeButton;

/* window open */
function windowopen(URL,Name,features){
window.open(URL,Name,features);
}
