/* ======================================================================




========================================================================= */
    function showSlider(p,width,height,theight,pics,links,titles){
    	var ie=true;
    	ie=String(navigator.appVersion).indexOf("MSIE")>-1;
    	if (ie){
	 		var obj=document.createElement("object"); 
			p.appendChild(obj);
			var pars="borderwidth="+width+"&borderheight="+height+"&textheight="+theight+"&pics="+pics.join("|")+"&links="+links.join("|")+"&texts="+titles.join("|");
		 	obj.classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000";
			obj.width=width;
			obj.height=height+theight;	 
			obj.menu=false;
		 	obj.movie="/pixviewer.swf?"+pars;
		}else{
			try{
			var html=('<object classid=\'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\' codebase=\'http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\' width=\''+ width+ +'\' height=\''+ (height+theight) +'\'>');           
			html +=('<param name=\'allowScriptAccess\' value=\'sameDomain\'><param name=\'movie\' value=\'/pixviewer.swf\'><param name=\'quality\' value=\'high\'><param name=\'bgcolor\' value=\'#ffffff\'>');           
			html +=('<param name=\'menu\' value=\'false\'><param name=wmode value=\'opaque\'>');          
			html +=('<param name=\'FlashVars\' value=\'pics='+pics.join('|')+'&links='+links.join('|')+'&texts='+titles.join('|')+'&borderwidth='+width+'&borderheight='+(height+theight)+'&textheight='+theight+'\'>');          
			html +=('<embed src=\'/pixviewer.swf\' wmode=\'opaque\' FlashVars=\'pics='+pics.join('|')+'&links='+links.join('|')+'&texts='+titles.join('|')+'&borderwidth='+width+'&borderheight='+(height+theight)+'&textheight='+theight+'\' menu=\'false\' bgcolor=\'#ffffff\' quality=\'high\' width=\''+ width +'\' height=\''+ height +'\' allowScriptAccess=\'sameDomain\' type=\'application/x-shockwave-flash\' pluginspage=\'http://www.macromedia.com/go/getflashplayer\' />');           
			html +=('</object>');
			p.innerHTML=(html);
			;}catch(ex){alert(ex.message)}
		}
	}