function hideslideshow()
{
document.getElementById('b-scrn-h').style.display = "none";
document.getElementById('c-m').style.display = "none";
// call_externalclose('close');
}
function call_externalclose(val)
{
 thisMovie('mymovie').close();
}
function thisMovie(movieName) {
    if (navigator.appName.indexOf("Microsoft") != -1) {
        return window[movieName]
    }
    else {
        return document[movieName]
    }
}

function showslideshow(val)
{
	document.getElementById('b-scrn-h').style.display = "inline";
	document.getElementById('c-m').style.display = "inline";
	if(navigator.appName == "Microsoft Internet Explorer")
	{
	document.getElementById('c-m').style.left = (screen.width / 2)-325;
//	document.getElementById('c-m').style.left = (screen.width / 2)-250;
	//document.getElementById('c-m').style.top = (screen.height / 2)-205;
	}
	else
	{
	document.getElementById('c-m').style.left = (screen.width / 2)-325+"px";
//	document.getElementById('c-m').style.left = (screen.width / 2)-220+"px";
	//document.getElementById('c-m').style.top = (screen.height / 2)-205+"px";
	}
	var so = new SWFObject("pic_gallery.swf?xmlLink="+val, "mymovie", "638", "531", "8", "#FFFFFF");
   so.addParam("quality", "high");
   so.addParam("wmode", "transparent");
   so.addParam("menu", "false");
   so.addParam("salign", "t");
   so.write("flashcontent2");
   so.write("flashcontent2");
}	
function querySt(ji) {
hu = window.location.search.substring(1);
gy = hu.split("&");
for (i=0;i<gy.length;i++) {
ft = gy[i].split("=");
if (ft[0] == ji) {
return ft[1];
}
}
}

