// Common Javascript Functions


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function getURLParam() {
	var res = ""
	myParam = location.search.substr(1).split("&")
	
	if(myParam[0].length != 0) 
	{ 
		var index = myParam[0].indexOf("=");
		if(index < myParam[0].length)
		res = myParam[0].substr(myParam[0].indexOf("=")+1);
	}
	return res;
}
