// JScript File
function ShowBig1(image,w,h)
{
    dummy = document.getElementById('dummy');
    dummy.src = image;
    var new_Dummy = new ImageExpander(dummy, image);
    dummy.click();
}
function ShowBig(image,w,h)
{
	var page = 'BigPicture.aspx?Pic='+ image ;
	var sc = 'status=no, toolbar=no, menubar=no, location=no, scrollbars=yes, top=0, left=0  '; 
	var br = (window.document.all) ? 1 : 0 ;
	var lrg = 0;
	var lng = 0;
	var flg = true;
	if (br == 1) // IE
	{
		lng = screen.height ;
		lrg = screen.width ;
	}
	else
	{
		lrg = 800;
		lng = 600;
	}	
	if (w)
	{
		if ((w + 100)<= lrg)
		{
			sc += ', width=' + (w+100);
		}
		else
		{
			sc = 'fullscreen=1';
			flg = false;
		}
	}
	if (h && flg)
	{
		if ((h + 100)<= lng)
		{
			sc += ', height=' + (h+100);
		}
		else
		{
			sc = 'fullscreen=1';
		}
	}
	fenetre = this.open(page,'Picture',sc);
}
function ShowBigDialog(image,w,h)
{
	var page = 'BigPicture.aspx?Pic='+ image ;
	var w1 = parseInt(w) + 30;
	var h1 = parseInt(h) + 80
	var sc = 'status:no; dialogLeft:0; dialogTop:0;dialogHeight:' + h1 + 'px;dialogWidth:' + w1 + 'px'; 
	window.showModalDialog(page,'Picture',sc);
}
function BigNasser()
{
	var page = 'NasserEldine.htm' ;
	var sc = 'status=no, toolbar=no, menubar=no, location=no, scrollbars=yes, top=0, left=0  '; 
	fenetre = this.open(page,'Nasser Al Dine Shah',sc);

}
function showNasser()
{
	var fen = window.open('NasserEldine.htm','Nasser','fullscreen=yes, scrollbars=yes');
}
