function getURLParameter(name)
{
  name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
  var regexS = "[\\?&]"+name+"=([^&#]*)";
  var regex = new RegExp( regexS );
  var results = regex.exec(window.location.href );
  if( results == null )
    return "";
  else
    return results[1];
}
function LoadCss()
{
	var small_head = document.getElementsByTagName("head").item(0);
	var thestyle = document.createElement("link");
	var cssPath = getURLParameter("css_path");
	if (cssPath != "") {
		thestyle.setAttribute("type", "text/css");	
		thestyle.setAttribute("rel", "stylesheet");	
		thestyle.setAttribute("href", getURLParameter("css_path"));	
		small_head.appendChild(thestyle);
	}
}
