";
strHTML+="
";
strHTML+="";
strHTML+="";
strHTML+="
";
var docBody=document.getElementsByTagName("body")[0];
var ibox=document.createElement("div");
ibox.setAttribute("id","ibox");
ibox.style.display='';
ibox.innerHTML=strHTML;
elem.appendChild(ibox);
}
var ibox_w_height=0;
showIbox = function(url,title,params){
document.getElementById('ibox_content').style.display = 'block';
opacity('ibox_content', 0, 100, 1);
document.getElementById('ibox_wrapper').style.display='none';
doSomethingWithClasses('control_flash_container', 'visibility', 'hidden');
var ibox=getElem('ibox_wrapper');
var ibox_type=0;
//var ibox_footer=getElem('ibox_footer');
if(title!=""){
//ibox_footer.innerHTML=title;
}
else{
//ibox_footer.innerHTML=" ";
}
var urlString=/\.jpg|\.jpeg|\.png|\.gif|\.html|\.htm|\.php|\.cfm|\.asp|\.aspx|\.jsp|\.jst|\.rb|\.rhtml|\.txt/g;
var urlType=url.match(urlString);
if(urlType=='.jpg'||urlType=='.jpeg'||urlType=='.png'||urlType=='.gif'){ibox_type=1;}
else if(url.indexOf("#")!=-1){ibox_type=2;}
else if(urlType=='.htm'||urlType=='.html'||urlType=='.php'||urlType=='.asp'||urlType=='.aspx'||urlType=='.jsp'||urlType=='.jst'||urlType=='.rb'||urlType=='.txt'||urlType=='.rhtml'||urlType=='.cfm'){ibox_type=3;}
else{
if(params['type']){ibox_type=parseInt(params['type']);}
else{hideIbox();return false;}
}
ibox_type=parseInt(ibox_type);
switch(ibox_type){
case 1:
showIndicator();
imgPreloader=new Image();
imgPreloader.onload=function(){
imgPreloader=resizeImageToScreen(imgPreloader);
hideIndicator();
var strHTML="