﻿function getid(){var d=location.href,b,a,c="";if(arguments[arguments.length-1]=="#")b=d.split("#");else b=d.split("?");if(b.length==1)a="";else a=b[1];if(a!=""){gg=a.split("&");var e=gg.length;str=arguments[0]+"=";for(i=0;i<e;i++)if(gg[i].indexOf(str)==0){c=gg[i].replace(str,"");break}}return c}
