//マウスが離れてからメニューが消えるまでの時間　1000で1秒
var hideDelay=1000;

//ここから下は変更の必要なし
var runable=(!document.getElementById)? (!document.all)? (!document.layers)? -1:1:2:3;
var ie=(document.all)? true:false;
var nowShowing="$";
var nowShowingSubMenu="";
var showedMenu="";
var onLayer=onLink=flgShow=0;
var timerID=st=en=0;
var mx=my=0;
var subMenuLeft=221;
var menuButtonHeight=24;
var subMenuColor="#c0c0c0";
var onSubMenuColor="#ffffff";

window.onload=function () { if (runable>1) document.onmousemove=function (event) {delayHideMenu(event) } }

self.document.location.pathname.match("([^\./]+)\.html$");
//alert(RegExp.$1);
//メニュー下
switch(RegExp.$1)
{
	case "":
		self.document.writeln("<div  style=\"position:absolute; top:108; left:0;\">");
		self.document.writeln("<img src=\"menubottom.gif\" width=\"221\" height=\"193\" border=\"0\" alt=\"\">");
		self.document.writeln("</div>");
		break;
	case "index":
		self.document.writeln("<div  style=\"position:absolute; top:108; left:0;\">");
		self.document.writeln("<img src=\"menubottom.gif\" width=\"221\" height=\"193\" border=\"0\" alt=\"\">");
		self.document.writeln("</div>");
		break;
	default:
		self.document.writeln("<div  style=\"position:absolute; top:101; left:0;\">");
		self.document.writeln("<img src=\"menubottom.gif\" width=\"221\" height=\"193\" border=\"0\" alt=\"\">");
		self.document.writeln("</div>");
		self.document.writeln("<div id=\"menuButton6\" style=\"position:absolute; top:130; left:0;\" onmouseover=\"showMenu(6)\">");
		self.document.writeln("<a href=\"./\"><img src=\"menu6.gif\" width=\"221\" height=\"25\" border=\"0\" alt=\"トップページ\" id=\"menuImage6\"></a>");
		self.document.writeln("</div>");
}
barMenu();
//ページトップ画像
self.document.writeln("<div  style=\"position:absolute; top:0; left:221;\">");
switch(RegExp.$1)
{
	case "aboutus":
		self.document.writeln("<img src=\"aboutus.gif\" width=\"540\" height=\"268\" border=\"0\" alt=\"会社概要\">");
		break;
	case "history":
		self.document.writeln("<img src=\"aboutus.gif\" width=\"540\" height=\"268\" border=\"0\" alt=\"沿革\">");
		break;
	case "policy":
		self.document.writeln("<img src=\"aboutus.gif\" width=\"540\" height=\"268\" border=\"0\" alt=\"活動方針\">");
		break;
	case "map":
		self.document.writeln("<img src=\"aboutus.gif\" width=\"540\" height=\"268\" border=\"0\" alt=\"アクセスマップ\">");
		break;
	case "products":
		self.document.writeln("<img src=\"products.gif\" width=\"540\" height=\"268\" border=\"0\" alt=\"製品紹介\">");
		break;
	case "process":
		self.document.writeln("<img src=\"develop.gif\" width=\"540\" height=\"268\" border=\"0\" alt=\"開発生産\">");
		break;
	case "safety":
		self.document.writeln("<img src=\"develop.gif\" width=\"540\" height=\"268\" border=\"0\" alt=\"開発生産\">");
		break;
	case "ecology":
		self.document.writeln("<img src=\"develop.gif\" width=\"540\" height=\"268\" border=\"0\" alt=\"開発生産\">");
		break;
	case "ecology":
		self.document.writeln("<img src=\"develop.gif\" width=\"540\" height=\"268\" border=\"0\" alt=\"開発生産\">");
		break;
	case "procurement":
		self.document.writeln("<img src=\"develop.gif\" width=\"540\" height=\"268\" border=\"0\" alt=\"開発生産\">");
		break;
	case "welfare":
		self.document.writeln("<img src=\"recruit.gif\" width=\"540\" height=\"268\" border=\"0\" alt=\"求人情報\">");
		break;
	case "links":
		self.document.writeln("<img src=\"links.gif\" width=\"540\" height=\"268\" border=\"0\" alt=\"リンク集\">");
		break;
	default:
/*
		self.document.writeln("<img src=\"index.gif\" width=\"540\" height=\"300\" border=\"0\" alt=\"明日へのひたむきな前進\">");
*/
		self.document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\" width=\"540\" height=\"300\" id=\"index\" align=\"middle\">");
		self.document.writeln("<param name=\"allowScriptAccess\" value=\"sameDomain\" />");
		self.document.writeln("<param name=\"movie\" value=\"index.swf\" />");
		self.document.writeln("<param name=\"menu\" value=\"false\" />");
		self.document.writeln("<param name=\"quality\" value=\"high\" />");
		self.document.writeln("<param name=\"bgcolor\" value=\"#ffffff\" />");
		self.document.writeln("<param name=\"wmode\" value=\"transparent\">");
		self.document.writeln("<embed src=\"index.swf\" menu=\"false\" quality=\"high\" bgcolor=\"#ffffff\" width=\"540\" height=\"300\" name=\"index\" align=\"middle\" allowScriptAccess=\"sameDomain\" wmode=\"transparent\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />");
		self.document.writeln("</object>");
}
self.document.writeln("</div>");

self.document.writeln("<div  style=\"position:absolute; top:0; left:0;\"><img src=\"menutop.gif\" width=\"221\" height=\"11\" border=\"0\" alt=\"\"></div>");
self.document.writeln("<div id=\"menuButton1\" style=\"position:absolute; top:10; left:0;\" onmouseover=\"showMenu(1)\">");
self.document.writeln("<a href=\"aboutus.html\"><img src=\"menu1.gif\" width=\"221\" height=\"25\" border=\"0\" alt=\"会社概要\" id=\"menuImage1\"></a>");
self.document.writeln("</div>");
self.document.writeln("<div id=\"menuButton2\" style=\"position:absolute; top:34; left:0;\" onmouseover=\"showMenu(2)\">");
self.document.writeln("<a href=\"products.html\"><img src=\"menu2.gif\" width=\"221\" height=\"25\" border=\"0\" alt=\"製品紹介\" id=\"menuImage2\"></a>");
self.document.writeln("</div>");
self.document.writeln("<div id=\"menuButton3\" style=\"position:absolute; top:58; left:0;\" onmouseover=\"showMenu(3)\">");
self.document.writeln("<a href=\"process.html\"><img src=\"menu3.gif\" width=\"221\" height=\"25\" border=\"0\" alt=\"開発生産\" id=\"menuImage3\"></a>");
self.document.writeln("</div>");
self.document.writeln("<div id=\"menuButton4\" style=\"position:absolute; top:82; left:0;\" onmouseover=\"showMenu(4)\">");
self.document.writeln("<a href=\"recruit.html\"><img src=\"menu4.gif\" width=\"221\" height=\"25\" border=\"0\" alt=\"求人情報\" id=\"menuImage4\"></a>");
self.document.writeln("</div>");
self.document.writeln("<div id=\"menuButton5\" style=\"position:absolute; top:106; left:0;\" onmouseover=\"showMenu(5)\">");
self.document.writeln("<a href=\"links.html\"><img src=\"menu5.gif\" width=\"221\" height=\"25\" border=\"0\" alt=\"リンク集\" id=\"menuImage5\"></a>");
self.document.writeln("</div>");

//サブメニュー
self.document.writeln("<div id=\"menu1\" class=\"menu\">");
self.document.writeln("<a href=\"aboutus.html\" class=\"linkDecoration\" onmouseover=\"subMenuMouseOver('1_1')\" onmouseout=\"subMenuMouseOut()\"><span class=\"menuString\" id=\"subMenu1_1\">会社概要</span></a><BR>");
self.document.writeln("<a href=\"history.html\" class=\"linkDecoration\" onmouseover=\"subMenuMouseOver('1_2')\" onmouseout=\"subMenuMouseOut()\"><span class=\"menuString\" id=\"subMenu1_2\">沿革</span></a><BR>");
self.document.writeln("<a href=\"policy.html\" class=\"linkDecoration\" onmouseover=\"subMenuMouseOver('1_4')\" onmouseout=\"subMenuMouseOut()\"><span class=\"menuString\" id=\"subMenu1_4\">活動方針</span></a><BR>");
self.document.writeln("<a href=\"map.html\" class=\"linkDecoration\" onmouseover=\"subMenuMouseOver('1_3')\" onmouseout=\"subMenuMouseOut()\"><span class=\"menuString\" id=\"subMenu1_3\">アクセスマップ</span></a>");
self.document.writeln("</div>");
self.document.writeln("<div id=\"menu2\" class=\"menu\">");
self.document.writeln("<a href=\"products.html\" class=\"linkDecoration\" onmouseover=\"subMenuMouseOver('2_1')\" onmouseout=\"subMenuMouseOut()\"><span class=\"menuString\" id=\"subMenu2_1\">カットコア製品</span></a><BR>");
self.document.writeln("<a href=\"products.html#transformer\" class=\"linkDecoration\" onmouseover=\"subMenuMouseOver('2_2')\" onmouseout=\"subMenuMouseOut()\"><span class=\"menuString\" id=\"subMenu2_2\" onClick=\"JumpProducts()\">変圧器製品</span></a>");
self.document.writeln("</div>");
self.document.writeln("<div id=\"menu3\" class=\"menu\">");
self.document.writeln("<a href=\"process.html\" class=\"linkDecoration\" onmouseover=\"subMenuMouseOver('3_1')\" onmouseout=\"subMenuMouseOut()\"><span class=\"menuString\" id=\"subMenu3_1\">工程の流れ</span></a><BR>");
self.document.writeln("<a href=\"safety.html\" class=\"linkDecoration\" onmouseover=\"subMenuMouseOver('3_2')\" onmouseout=\"subMenuMouseOut()\"><span class=\"menuString\" id=\"subMenu3_2\">安全活動</span></a><BR>");
self.document.writeln("<a href=\"ecology.html\" class=\"linkDecoration\" onmouseover=\"subMenuMouseOver('3_3')\" onmouseout=\"subMenuMouseOut()\"><span class=\"menuString\" id=\"subMenu3_3\">環境への取組</span></a><BR>");
self.document.writeln("<a href=\"procurement.html\" class=\"linkDecoration\" onmouseover=\"subMenuMouseOver('3_4')\" onmouseout=\"subMenuMouseOut()\"><span class=\"menuString\" id=\"subMenu3_4\">グリーン調達</span></a>");
self.document.writeln("</div>");
self.document.writeln("<div id=\"menu4\" class=\"menu\">");
self.document.writeln("<a href=\"recruit.html\" class=\"linkDecoration\" onmouseover=\"subMenuMouseOver('4_1')\" onmouseout=\"subMenuMouseOut()\"><span class=\"menuString\" id=\"subMenu4_1\">求人情報</span></a><BR>");
self.document.writeln("<a href=\"welfare.html\" class=\"linkDecoration\" onmouseover=\"subMenuMouseOver('4_2')\" onmouseout=\"subMenuMouseOut()\"><span class=\"menuString\" id=\"subMenu4_2\">福利厚生</span></a>");
self.document.writeln("</div>");
self.document.writeln("<div id=\"menu5\" class=\"menu\">");
self.document.writeln("<a href=\"links.html\" class=\"linkDecoration\" onmouseover=\"subMenuMouseOver('5_1')\" onmouseout=\"subMenuMouseOut()\"><span class=\"menuString\" id=\"subMenu5_1\">リンク集</span></a>");
self.document.writeln("</div>");
self.document.writeln("<div id=\"menu6\" class=\"menu\">");
self.document.writeln("<a href=\"/\" class=\"linkDecoration\" onmouseover=\"subMenuMouseOver('6_1')\" onmouseout=\"subMenuMouseOut()\"><span class=\"menuString\" id=\"subMenu6_1\">トップページへ</span></a>");
self.document.writeln("</div>");

function getElm(name,style)
{//HTMLオブジェクト取得
	var doc=self.document;
	if (runable==2) var gobj=doc.all(name); //IE4+
	else var gobj=doc.getElementById(name); //DOM
	if (style && runable>1) gobj=gobj.style;
	return gobj;
}

function showMenu(n,X,Y)
{//メニュー表示
	if (runable<2) return;
	var obj=getElm("menu"+n,1);
	var lnk=getElm("menuButton"+n);
	var lnks=getElm("menuButton"+n,1);
	nowShowing=n;
	//表示中のメニューがある場合、それを非表示にする
	if (showedMenu!="" && showedMenu!=nowShowing) hideMenu(showedMenu);
	if (obj.visibility=="visible" && onLink==1) return;
	var menuImage=getElm("menuImage"+n);
	menuImage.src="menu"+n+"a.gif";
	lnk.onmouseout=leaveLink;
	onLayer=onLink=1;
	//obj.left=X || parseInt(lnks.left);
	obj.left = subMenuLeft;
	//obj.top=Y || parseInt(lnks.top)+((runable==1)? lnk.clip.height:lnk.offsetHeight);
	obj.top = ( n - 1 ) * menuButtonHeight + 10;
	obj.visibility="visible";
	showedMenu=nowShowing;
	flgShow=1;
	clearTimeout(timerID);
	st=t();
}

function leaveLink()
{//リンクからマウスが離れた
	onLink=0;
	en=t();
}

function delayHideMenu(e)
{//メニューを非表示にするかどうか判定する１
	mx=gmx(e);
	my=gmy(e);
	if (nowShowing=="$" || flgShow==0 || st==0) return;
	if (onLink==0 && checkPosition())
	{//リンクとメニューからマウスが離れている
		en=t();
		onLayer=0;
		hideMenu();
	}
	else
	{
		st=t();
		onLayer=1;
		clearTimeout(timerID);
	}
}

function hideMenu(n)
{//メニューを非表示にするかどうか判定する２
	clearTimeout(timerID);
	if (!n)
	{
		
		if (nowShowing=="$" || onLayer!=0) return;
		if (onLink==1) 
		{//リンクにマウスが乗っている
			timerID=setTimeout("hideMenu()",hideDelay);
			st=t();
			return;
		}
		else if (((en-st)%hideDelay)<hideDelay && st!=0) 
		{//指定した時間が経過していない
			clearTimeout(timerID);
			timerID=setTimeout("hideMenu()",hideDelay);
			st=0;
			return;
		}
		else if (!checkPosition())
		{//メニューにマウスが乗っている
			st=t();
			return;
		}
	}
	
	//メニュー非表示
	if ( showedMenu!="" )
	{
		var menuImage=getElm("menuImage"+showedMenu);
		menuImage.src="menu"+showedMenu+".gif";
	}
	if (nowShowingSubMenu!="")
	{
		var subMenu = getElm("subMenu"+nowShowingSubMenu);
		subMenu.style.fontWeight = "normal";
		nowShowingSubMenu="";
	}
	getElm("menu"+((n)? n:nowShowing),1).visibility="hidden";
	showedMenu="";
	onLayer=flgShow=0;
}

function checkPosition()
{//マウスがメニューに乗っているかどうか判定
	if (nowShowing=="$") return;
	var obj=getElm("menu"+nowShowing);
	var x=mx-((runable==1)? parseInt(obj.left):obj.offsetLeft);
	var y=my-((runable==1)? parseInt(obj.top):obj.offsetTop);
	var w=(runable==1)? parseInt(obj.clip.width):obj.offsetWidth;
	var h=(runable==1)? parseInt(obj.clip.height):obj.offsetHeight;
	if (onLink==0 && (x<=0 || y<=0 || x>=w || y>=h)) return true;
	return false;
}

function t()
{
	return (new Date()).getTime();
}

function gmx(e)
{//マウス位置取得X
	if (ie) return document.body.scrollLeft+event.clientX;
	else return e.pageX;
}

function gmy(e)
{//マウス位置取得Y
	if (ie) return document.body.scrollTop+event.clientY;
	else return e.pageY;
}

function subMenuMouseOver(n)
{
	if (nowShowingSubMenu!="")
	{
		var subMenu = getElm("subMenu"+nowShowingSubMenu);
		subMenu.style.color = subMenuColor;
	}
	var subMenu = getElm("subMenu"+n);
	subMenu.style.color = onSubMenuColor;
	nowShowingSubMenu=n;
}

function subMenuMouseOut()
{
	if (nowShowingSubMenu!="")
	{
		var subMenu = getElm("subMenu"+nowShowingSubMenu);
		subMenu.style.color = subMenuColor;
		nowShowingSubMenu="";
	}
}

function barMenu()
{
	if(RegExp.$1 == "aboutus" || RegExp.$1 == "history" || RegExp.$1 == "policy" || RegExp.$1 == "map")
	{
		self.document.writeln("<div  style=\"position:absolute; top:268; left:222;\">");
		self.document.writeln("<img src=\"submenu1.gif\" width=\"540\" height=\"25\" border=\"0\">");
		self.document.writeln("</div>");
		self.document.writeln("<div  style=\"position:absolute; top:268; left:221;\">");
		self.document.writeln("<a href=\"aboutus.html\">");
		if(RegExp.$1 == "aboutus")
		{
			self.document.writeln("<img src=\"menu1_1a.gif\" width=\"108\" height=\"25\" border=\"0\" alt=\"会社概要\">");
		}
		else
		{
			self.document.writeln("<img src=\"menu1_1.gif\" width=\"108\" height=\"25\" border=\"0\" alt=\"会社概要\">");
		}
		self.document.writeln("</a>");
		self.document.writeln("</div>");
		self.document.writeln("<div  style=\"position:absolute; top:268; left:329;\">");
		self.document.writeln("<a href=\"history.html\">");
		if(RegExp.$1 == "history")
		{
			self.document.writeln("<img src=\"menu1_2a.gif\" width=\"108\" height=\"25\" border=\"0\" alt=\"沿革\">");
		}
		else
		{
			self.document.writeln("<img src=\"menu1_2.gif\" width=\"108\" height=\"25\" border=\"0\" alt=\"沿革\">");
		}
		self.document.writeln("</a>");
		self.document.writeln("</div>");
		self.document.writeln("<div  style=\"position:absolute; top:268; left:437;\">");
		self.document.writeln("<a href=\"policy.html\">");
		if(RegExp.$1 == "policy")
		{
			self.document.writeln("<img src=\"menu1_4a.gif\" width=\"108\" height=\"25\" border=\"0\" alt=\"活動方針\">");
		}
		else
		{
			self.document.writeln("<img src=\"menu1_4.gif\" width=\"108\" height=\"25\" border=\"0\" alt=\"活動方針\">");
		}
		self.document.writeln("</a>");
		self.document.writeln("</div>");
		self.document.writeln("<div  style=\"position:absolute; top:268; left:545;\">");
		self.document.writeln("<a href=\"map.html\">");
		if(RegExp.$1 == "map")
		{
			self.document.writeln("<img src=\"menu1_3a.gif\" width=\"108\" height=\"25\" border=\"0\" alt=\"アクセスマップ\">");
		}
		else
		{
			self.document.writeln("<img src=\"menu1_3.gif\" width=\"108\" height=\"25\" border=\"0\" alt=\"アクセスマップ\">");
		}
		self.document.writeln("</a>");
		self.document.writeln("</div>");
	}
	if(RegExp.$1 == "products")
	{
		self.document.writeln("<div  style=\"position:absolute; top:268; left:222;\">");
		self.document.writeln("<img src=\"submenu2.gif\" width=\"540\" height=\"25\" border=\"0\">");
		self.document.writeln("</div>");
		self.document.writeln("<div  style=\"position:absolute; top:268; left:221;\">");
		self.document.writeln("<img src=\"menu2_1a.gif\" width=\"108\" height=\"25\" border=\"0\" alt=\"カットコア製品\">");
		self.document.writeln("</div>");
		self.document.writeln("<div  style=\"position:absolute; top:268; left:329;\">");
		self.document.writeln("<a href=\"#transformer\"><img src=\"menu2_2.gif\" width=\"108\" height=\"25\" border=\"0\" alt=\"変圧器製品\" onClick=\"window.scrollTo(0,640)\"></a>");
		self.document.writeln("</div>");
	}
	if(RegExp.$1 == "process" || RegExp.$1 == "safety" || RegExp.$1 == "ecology" || RegExp.$1 == "procurement")
	{
		self.document.writeln("<div  style=\"position:absolute; top:268; left:222;\">");
		self.document.writeln("<img src=\"submenu3.gif\" width=\"540\" height=\"25\" border=\"0\">");
		self.document.writeln("</div>");
		self.document.writeln("<div  style=\"position:absolute; top:268; left:221;\">");
		self.document.writeln("<a href=\"process.html\">");
		if(RegExp.$1 == "process")
		{
			self.document.writeln("<img src=\"menu3_1a.gif\" width=\"108\" height=\"25\" border=\"0\" alt=\"工程の流れ\">");
		}
		else
		{
			self.document.writeln("<img src=\"menu3_1.gif\" width=\"108\" height=\"25\" border=\"0\" alt=\"工程の流れ\">");
		}
		self.document.writeln("</a>");
		self.document.writeln("</div>");
		self.document.writeln("<div  style=\"position:absolute; top:268; left:329;\">");
		self.document.writeln("<a href=\"safety.html\">");
		if(RegExp.$1 == "safety")
		{
			self.document.writeln("<img src=\"menu3_2a.gif\" width=\"108\" height=\"25\" border=\"0\" alt=\"安全活動\">");
		}
		else
		{
			self.document.writeln("<img src=\"menu3_2.gif\" width=\"108\" height=\"25\" border=\"0\" alt=\"安全活動\">");
		}
		self.document.writeln("</a>");
		self.document.writeln("</div>");
		self.document.writeln("<div  style=\"position:absolute; top:268; left:437;\">");
		self.document.writeln("<a href=\"ecology.html\">");
		if(RegExp.$1 == "ecology")
		{
			self.document.writeln("<img src=\"menu3_3a.gif\" width=\"108\" height=\"25\" border=\"0\" alt=\"環境への取組\">");
		}
		else
		{
			self.document.writeln("<img src=\"menu3_3.gif\" width=\"108\" height=\"25\" border=\"0\" alt=\"環境への取組\">");
		}
		self.document.writeln("</a>");
		self.document.writeln("</div>");
		self.document.writeln("<div  style=\"position:absolute; top:268; left:545;\">");
		self.document.writeln("<a href=\"procurement.html\">");
		if(RegExp.$1 == "procurement")
		{
			self.document.writeln("<img src=\"menu3_4a.gif\" width=\"108\" height=\"25\" border=\"0\" alt=\"グリーン調達\">");
		}
		else
		{
			self.document.writeln("<img src=\"menu3_4.gif\" width=\"108\" height=\"25\" border=\"0\" alt=\"グリーン調達\">");
		}
		self.document.writeln("</a>");
		self.document.writeln("</div>");
	}
	if(RegExp.$1 == "recruit" || RegExp.$1 == "welfare")
	{
		self.document.writeln("<div  style=\"position:absolute; top:268; left:222;\">");
		self.document.writeln("<img src=\"submenu4.gif\" width=\"540\" height=\"25\" border=\"0\">");
		self.document.writeln("</div>");
		self.document.writeln("<div  style=\"position:absolute; top:268; left:221;\">");
		self.document.writeln("<a href=\"recruit.html\">");
		if(RegExp.$1 == "recruit")
		{
			self.document.writeln("<img src=\"menu4_1a.gif\" width=\"108\" height=\"25\" border=\"0\" alt=\"求人情報\">");
		}
		else
		{
			self.document.writeln("<img src=\"menu4_1.gif\" width=\"108\" height=\"25\" border=\"0\" alt=\"求人情報\">");
		}
		self.document.writeln("</a>");
		self.document.writeln("</div>");
		self.document.writeln("<div  style=\"position:absolute; top:268; left:329;\">");
		self.document.writeln("<a href=\"welfare.html\">");
		if(RegExp.$1 == "welfare")
		{
			self.document.writeln("<img src=\"menu4_2a.gif\" width=\"108\" height=\"25\" border=\"0\" alt=\"福利厚生\">");
		}
		else
		{
			self.document.writeln("<img src=\"menu4_2.gif\" width=\"108\" height=\"25\" border=\"0\" alt=\"福利厚生\">");
		}
		self.document.writeln("</a>");
		self.document.writeln("</div>");
	}
	if(RegExp.$1 == "links")
	{
		self.document.writeln("<div  style=\"position:absolute; top:268; left:222;\">");
		self.document.writeln("<img src=\"submenu5.gif\" width=\"540\" height=\"25\" border=\"0\">");
		self.document.writeln("</div>");
	}
}

function JumpProducts()
{
	if ( RegExp.$1 == "products" )
	{
		window.scrollTo(0,640);
	}
}
