prmArray = new Array();
strParam = location.search.substring(1).split('&');

// 引数を配列のキーと値に設定
i = 0;
for(i = 0; i != strParam.length; i++)
{
	prmArray[strParam[i].split('=')[0]] = strParam[i].split('=')[1];
}

var strTop = "";

strTop = "<div class='servicepagetop'><p><a href='?prm1=" + prmArray.prm1 + "&prm2=" + prmArray.prm2 + "&prm3=" + prmArray.prm3 + "#pagetop'></a></p></div>"

document.write(strTop);
