////////////////////////////////////////
//                                    //
//   script by Bülent Keskin          //
//             bulent@nethizmet.net   //
//                                    //
////////////////////////////////////////

function showPicture(title,img,width,height,imgtype){
	viewwindow=window.open('','viewwin','width='+width+', height='+height);
	viewwindow.document.write('<title>'+title+'</title>');
	viewwindow.document.write('<body marginwidth=0 marginheight=0 topmargin=0 leftmargin=0><table width=100% height=100% border=0 cellpadding=0 cellspacing=0><tr><td align=center valign=middle>');
	if(imgtype==4) viewwindow.document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width='+width+' height='+height+'><param name=movie value="/images'+img+'"></object>');
		else viewwindow.document.write('<img src="'+img+'" width="'+width+'" height="'+height+'">');
	viewwindow.document.write('</td></tr></table></body>');
	return(false);
}

// --- onload'da yapılacak işler...
// --- Aşağıdaki arraya istediğim kadar fonksiyon ismi girebilirim.
documentLoadActions=new Array();
function documentLoaded(){
	for(i=0;i<documentLoadActions.length;i++)
		eval(documentLoadActions[i]);
}
window.onload=documentLoaded;
