var util1_loaded=true;
var v11863="";
function f50543(e)
{
if(!e){e=window.event;}
var i;
var j;
var v11127="";
v11691=1;
if(v11863==""||v11691==1)
{
if(v11691)
{
v11127=v11127+"<div class='ZDisplayMessage' style='overflow:auto;'><b>Drag and Drop from (*) to the element to color the text. <br>Drag-and-drop from the [Color Name] to the element to color its background.</b></div>";
v11127=v11127+"<div style='overflow:auto;width:100%;height:100%' onmousedown='f50345(event);'><table align='center' width='100%' style='background-color:white;'>";
v11127=v11127+"<tr><td>Sort By:";
v11127=v11127+"<input type=button class=ZInput name='SortR' value = 'Red' title = 'Sort Colors by Red value first' onclick= 'f50310(1)'>";
v11127=v11127+"<input type=button class=ZInput name='SortG' value = 'Green' title = 'Sort Colors by Green value first' onclick='f50310(2)'>";
v11127=v11127+"<input type=button class=ZInput name='SortB' value = 'Blue' title = 'Sort Colors by Blue value first' onclick='f50310(3)'>";
v11127=v11127+"<input type=button class=ZInput name='SetDefault' value = 'Alphabetical' style = font-weight:'bold' title = 'Sort By Alphabetical Order' onclick='f50189()'>";
v11127=v11127+"<input type=button class=ZInput name='HexName' value = '#Hex' title = 'Hex Value for Colors' onclick='f50930()'>";
v11127=v11127+"<input type=button class=ZInput name='RSort' value = 'Default' title = 'Goto f50704 Menu' onclick='f50704()'<tr>";
v11127=v11127+"<input type=button class=ZInput name='ResetOp' value = 'Reset' title = 'Reset To Default' onclick='f51384()'<tr>";
v11127=v11127+"</td></tr>";
v11127=v11127+"</table>";
v11127=v11127+"<table border = 1 align='center' width='100%' style='background-color:white;'>";
var v10029=v13235.length;
var v11245;
var v10772;
var v10321;
v11245=parseInt(v10029/4);
if(v10029%4==3)
{
v11245=v11245+1;
v10772=v11245;
v11268=v11245;
v10321=v11245-1;
}
else if(v10029%4==2)
{
v11245=v11245+1;
v10772=v11245;
v11268=v11245-1;
v10321=v11245-1;
}
else if(v10029%4==1)
{
v11245=v11245+1;
v10772=v11245-1;
v11268=v11245-1;
v10321=v11245-1;
}
else
{
v11245=v11245;
v10772=v11245;
v11268=v11245;
v10321=v11245;
}
for(i=0;i<v11245;i++)
{
for(j=0;j<4;j++)
{
if(i*4+j<v13235.length)
{
if(v11691==0)
{
v11127=v11127+"<td  style='width:30px;'>&nbsp;<a href='#' ondragstart='f50805(\"color:#"+NamedColorCodes[i+(j*v11245)]+";\", event);'><font color=#"+NamedColorCodes[i+(j*v11245)]+"><b>Text</b></font></a></td>";
v11127=v11127+"<td style='width:70px;background-color:#"+NamedColorCodes[i+(j*v11245)]+";'><a href=# ondragstart='f50805(\"#"+NamedColorCodes[i+(j*v11245)]+"\", event);'>BG</a>&nbsp;</td>";
}
else
{
v11127=v11127+"<td width='25%' onmouseover='f50830(\""+NamedColorCodes[i+(j*v11245)]+"\", event);' style='width:50px;background-color:#"+NamedColorCodes[i+(j*v11245)]+";'>"+"&nbsp;<a href='#' onclick='f51893(\"color:#"+NamedColorCodes[i+(j*v11245)]+"\", event);' ondragstart='f50805(\"color:#"+NamedColorCodes[i+(j*v11245)]+";\", event);'>(*)</a>&nbsp;<a href=#  onclick='f51893(\"background-color:#"+NamedColorCodes[i+(j*v11245)]+"\", event);' ondragstart='f50805(\"#"+NamedColorCodes[i+(j*v11245)]+"\", event);'>"+v13235[i+(j*v11245)]+"</a>&nbsp;</td>";
}
}
else
{
v11127=v11127+"<td >&nbsp;</td>";
}
}
v11127=v11127+"</tr><tr>";
}
v11127=v11127+"</tr></table></div>"
if(v11691==0)
{
v11863=v11127;
}
if(v11691)
{
var v12057=f50045("ZGet","ColorBox");
if(v12057!="")
{
ZK(f50692(v12057));
}
var v12263=f50609(ZMakeSystemBox(f50003(v11127),"Drag-Drop Colors Selection"),200,100,600,350);
ZSet(v12263,"ColorBox",true);
f50345(event);
}
else
{
var v12263=f50609(ZMakeSystemBox(f50003(v11127),"Drag-Drop Colors Selection"),250,100,400,250);
ZSet(v12263,"ColorBox",true);
}
v11691=0;
f50456();
}
else
{
var v12057=f50045("ZGet","ColorBox");
if(v12057!="")
{
ZK(f50692(v12057));
}
var v12263=f50609(ZMakeSystemBox(f50005("http://www.zcubes.com/include/scripts/colors.htm"),"Drag-Drop Colors Selection"),250,100,400,250);
ZSet(v12263,"ColorBox",true);
}
}
}
function f50586(v11159,v10931)
{
if(typeof v10931=="undefined")
{
v10931="";
}
var v11193='';
var v11477='';
var v11075=/([0-9])*Space/;
var v11078=/(SearchBoxSpace)|(DanySpace)/;
var i;
for(i in v10352)
{
if(isNaN(i))
{
continue;
}
var v11033=v10352[i];
if(v11033!=null)
if(f50518(v11033.className.toLowerCase(),"gami"))
{
if(v10931.toLowerCase()=="system")
{
if(f50539(v11033.id)==true)
{
continue;
}
}
if(v10931.toLowerCase()=="hidden")
{
if((v11033.id).search(v11075)!=-1)
{
if(v11159==false)
{
if(v11033.style.visibility.toLowerCase()=='hidden')
{
if((v11033.id).search(v11078)==-1)
{
v11193=v11193+v11033.id+' ';
}
}
}
}
continue;
}
if((v11033.id).search(v11075)!=-1)
{
if(v11159==false)
{
if(v11033.style.visibility.toLowerCase()!='hidden')
{
if((v11033.id).search(v11078)==-1)
{
v11193=v11193+v11033.id+' ';
}
}
}
else
{
v11193=v11193+v11033.id+' ';
}
}
}
}
return(v11193);
}
function f50852(v10811)
{
var i;
for(i in v10352)
{
if(isNaN(i))
{
continue;
}
var v11033=v10352[i];
if(v11033!=null)
if(f50518(v11033.className,"gami")==true)
{
f50858(v11033,v10811);
}
}
return;
}
function f50556()
{
v10776=-1;
document.getElementById('DropDownDiv').innerHTML='';
document.getElementById('DropDownDiv').style.visibility='hidden';
document.getElementById('DropDownDiv').style.display='none';
var v10713=/^(https:\/\/)|(http:\/\/)|(ftp:\/\/)/gi;
var v10714=/^(www.)/
var v10441=document.getElementById('SenderText').value;
var v10442=0;
var v10356=false;
var GetIndex=0;
var count=0;
if(v10441.search(v10713)!=-1)
{
if(v10441.indexOf('//www.')!=-1)
{
GetIndex=v10441.indexOf('//www.')+6;
v10441=v10441.substring(GetIndex);
}
else
{
GetIndex=v10441.indexOf('http://')+7;
v10441=v10441.substring(GetIndex);
}
}
else if(v10441.search(v10714)!=-1)
{
GetIndex=v10441.indexOf('www.')+4;
v10441=v10441.substring(GetIndex);
}
v10442=v10441.length;
for(i=0;i<v11340.length;i++)
{
if(v11340[i].search(v10713)!=-1)
{
if(v11340[i].indexOf('//www.')!=-1)
{
GetIndex=v11340[i].indexOf('//www.')+6;
}
else
{
GetIndex=v11340[i].indexOf('http://')+7;
}
}
else if(v11340[i].search(v10714)!=-1)
{
GetIndex=v11340[i].indexOf('www.')+4;
}
else
{
GetIndex=0;
}
for(j=0;j<v10442;j++)
{
if(v10441.charAt(j)==v11340[i].charAt(GetIndex))
{
v10356=true;
}
else
{
v10356=false;
break;
}
GetIndex=GetIndex+1;
}
if(v10356==true)
{
document.getElementById('DropDownDiv').style.visibility='visible';
document.getElementById('DropDownDiv').style.display='block';
var v10538='\t'+v11340[i];
document.getElementById('DropDownDiv').innerHTML=document.getElementById('DropDownDiv').innerHTML+'<div id="DropDownDiv'+count+'" style="background-color:white;" onmouseover="f51357(event)">'+v10538+'</div>';
count=count+1;
}
}
}
function f50510(v11127,v11075)
{
if(v11075==undefined)
{
v12005=new RegExp(/((\s)*function\s)/);
v12006=new RegExp(/(\)(\s)*\{)/);
SomeRegularExpression3=new RegExp(/\}/);
if((v12005.test(v11127))&&(v12006.test(v11127))&&(SomeRegularExpression3.test(v11127)))
{
return true;
}
else
{
return false;
}
}
return v11075.test(v11127);
}
function f50841(v10339,v10446,v10929)
{
var v10815="<input type=button>";
var v11213='<SCR'+''+'IPT DEFER>';
v11213=v11213+v10929;
v11213=v11213+'</SCR'+''+'IPT>';
document.getElementById('ScriptDiv').insertAdjacentHTML("beforeEnd",v10815+v11213);
v10339.toString=function()
{
return'"'+v10339+'();"';
}
window.setInterval(v10339,v10446);
}
function f50479(v10953,v10929,v13016)
{
if(typeof v13016=="undefined")
{
v13016="";
}
if(document.getElementById("Script"+v10953)!=undefined)
{
document.getElementById("Script"+v10953).outerHTML='';
}
var v10815="<input id='Script"+v10953+"' type=button>";
var v11213;
if(v13016!="")
{
v11213='<SCR'+''+'IPT DEFER language="'+v13016+'">';
}
else
{
v11213='<SCR'+''+'IPT DEFER>';
}
v11213=v11213+v10929;
v11213=v11213+'</SCR'+''+'IPT>';
document.getElementById('ScriptDiv').insertAdjacentHTML("beforeEnd",v10815+v11213+"</input>");
}
function GetInsertedScript(v10892)
{
try
{
return(document.getElementById("ScriptDiv").innerHTML);
}
catch(v12703)
{
return("");
}
}
function ClearInsertedScripts()
{
try
{
document.getElementById("ScriptDiv").innerHTML="";
}
catch(v12703)
{
return("");
}
}
function f50366(v10995)
{
var v10204=v10995;
var ImageURL=v10204;
var v10430=[
["msn.com/images/",'&',"=","iu"],
["/images\.google\..*/",'&',"=","imgurl"],
["images.search.yahoo.com",'&',"=","imgurl"],
["http://www.bing.com/images",'&',"=","furl"],
["http://www.google.com|co.in/imgres",'&',"=","imgurl"],
["aol.com/aolcom/imageDetails?",'&',"=","img"],
["http://search.aol.com|in/aolcom|aol/redir\\?src=image",'&',"=","img"],
["altavista.com/image/detail?",'&',"=","backurl"],
["altavista.co.in/image/detail?",'&',"=","backurl"],
["images.ask.?(com)?(co.in)/",'&',"=","imagesrc"]
];
if(v10995.search("av.rds.yahoo.com")!=-1)
{
try
{
return(v10995.split("**")[1]);
}
catch(v12703)
{
}
}
if(v10995.search("commons.wikimedia.org")==-1)
{
v10204=f51829(v10204);
if(v10204.indexOf("?")>0)
{
v10204=v10204.substr(v10204.indexOf("?")+1);
}
for(var i=0;i<v10430.length;i++)
{
if(v10995.toLowerCase().search(v10430[i][0].toLowerCase())>=0)
{
ImageURL=decodeURIComponent(GetValue(v10204,v10430[i][1],v10430[i][2],v10430[i][3]));
if(ImageURL.indexOf("://")<0)
{
ImageURL="http://"+ImageURL;
}
if(f50526(ImageURL))
{
return ImageURL;
}
else
{
return v10995;
}
}
}
}
else
{
var v15185=v10995.split("Image:")[1];
v10995="http://upload.wikimedia.org/wikipedia/commons/thumb/2/22/"+v15185+"/594px-"+v15185;
}
return v10995;
}
function f51829(v11127)
{
try
{
return(decodeURIComponent(v11127));
}
catch(v12703)
{
return(v11127);
}
}
function f52180(v13419)
{
if(typeof v13419=="undefined")
{
v13419=true;
}
var v11595="<xml:namespace ns='urn:schemas-microsoft-com:vml' prefix='v'/>";
var v12246="\r\n"+"<style type='text/css'>";
v12246+="\r\n"+"v\\\:* { behavior: url(#default#VML);}"+"\r\n"+"</style>"+"\r\n";
var v11128="<HTML XMLNS:IE>";
v11128+="\r\n"+"<HEAD>";
v11128+="\r\n"+'<meta http-equiv="Content-Type" content="text/html; charset=utf-8">';
v11128+="\r\n"+'<meta http-equiv="X-UA-Compatible" content="IE=6">';
v11128+="\r\n"+"<META HTTP-EQUIV='Pragma' CONTENT='no-cache'>";
v11128+="\r\n"+"<META http-equiv='Content-Type' content='text/html';>"+"\r\n";
v11128+="\r\n"+"<link href='http://zscache.zcubes.com/ZCubeSetUpLog.css' type='text/css' rel='stylesheet' title='ZCUBECSS'>"+"\r\n";
if(v13419==true)
{
v11128+="\r\n"+"<script src='http://zscache.zcubes.com/setup_NE.js' ></script>";
}
v11128+="\r\n"+"</HEAD>";
v11128+=v11595+v12246;
return(v11128);
}
function f51281()
{
try
{
HideDuplicateSlideSets();
}
catch(v12703)
{
}
var v11128="";
v11128+=f52180();
v11128+="<BODY onload='if(typeof SetUpLoad != \"undefined\"){SetUpLoad(\"false\");}else{document.getElementById(\"bgcontent\").value=unescape(document.all(\"TempDoc\").innerHTML);SendTextToServer.submit();}'>"
return v11128;
}
function f51330(v11851,v15633)
{
var v11177;
if(typeof v15633=="undefined")
{
v15633=false;
}
var DesiredHeight=window.screen.availHeight;
if(v15633)
{
v11177=window.open("",null,"width=800,height=800,scrollbars=yes,status=yes,toolbar=yes,menubar=yes,location=no");
var SomeMenuIcons="<div style='cursor:hand;align:center;valign:middle;background-color:lightsteelblue;height:25px;width:100%'>"+ReturnSlideControlsForBottom("",v11851)+"</div>";
}
else
{
v11177=window.open("",null,"fullscreen=yes,scrollbars=no,status=no,toolbar=no,menubar=no,location=no");
var SomeMenuIcons="<div style='top:"+DesiredHeight+"px;position:absolute;cursor:hand;align:center;valign:middle;background-color:lightsteelblue;height:25px;width:100%'>"+ReturnSlideControlsForBottom("",v11851)+"</div>";
}
var v11850=v10825[v11851];
var v11127="";
var v15134=ZGet(v10824[v11851],"SlideShowAnimations");
var v15131=ZGet(v10824[v11851],"SlideShowDurations");
var v15133=v15134.split("~");
var v15131=v15131.split("~");
var v15132="";
for(var i=0;i<v11850.length;i++)
{
v11127=v11127+v11850[i];
try
{
v13147=v15131[i];
}
catch(v12703)
{
v13147=1.0;
}
v15132=v15132+"<div style='visibility:hidden;display:none;scroll:no;'>"+v15133[i]+"|"+v13147+"</div>";
}
var v11900="<HTML>\n<HEAD>\n<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>\n<title>Full Screen Slide Show</title>\n<link href='"+ThisServer+"/../include/zcubesitelog.css' type='text/css' rel='stylesheet' title='ZCUBECSS'>\n<script src='"+ThisServer+"/../include/scripts/zshow.js' language='javascript'></script>\n<script src='"+ThisServer+"/../include/scripts/zcubemenu.js' language='javascript'></script>\n<script src='"+ThisServer+"/../include/scripts/cancels.js' language='javascript'></script>\n</HEAD>\n<IE:Download ID=dwn STYLE='behavior:url(#default#download)' />\n<BODY onload=';f51354();' onmousewheel='f50242(event);'style='zoom:1.0;margin:0px;border:0px;padding:0px;scroll:no;' onkeydown='f51353()'>\n<div id='SlideShowArea' style='width:100%;height:"+DesiredHeight+"px;filter:progid:DXImageTransform.Microsoft.fade(duration=3);'></div>"+SomeMenuIcons+"\n<div id='SlideShowContentsDiv' style='visibility:hidden;display:none;scroll:no;'>"+v11127+"</div>"+"<div id='SlideShowContentsSettingsDiv' style='visibility:hidden;display:none;scroll:no;'>"+v15132+"</div>\n</BODY>\n</HTML>";
v11177.document.write(v11900);
}
function f51414(v10995)
{
var v11075=new RegExp('<script(.)*</script>');
return v11075.test(v10995);
}
