function dce ( str ){
	var res='ma';
	var ch='';
	var i;
	res+='ilt';	res+='o:';
	for (i=0; i<str.length; i=i+2){
		ch=unescape('%' + str.substr(i, 2));
		res+=String.fromCharCode(ch.charCodeAt(0) ^ 163);
	}
	
	window.location.href=  res;
}

function drawFlash(){
	var siteaddress='http://www.pizzajoesdelivery.com/';
	var MM_contentVersion = 8;
	var MM_FlashCanPlay=DetectFlashVer(MM_contentVersion, 0, 0);
	if ( MM_FlashCanPlay ) {
		var pagelink=0;
		var pageaddress=window.location.pathname;
		var slashindex=pageaddress.lastIndexOf('/');
		if (slashindex!=-1) pageaddress=window.location.pathname.substr(slashindex);
		//detect pagelink:
		switch (pageaddress){
			case '/index.php': pagelink=1; break;
			case '/order.php': pagelink=2; break;
			case '/menu.php': pagelink=3; break;
			case '/coupons.php': pagelink=4; break;
			case '/faq.php': pagelink=5; break;
			case '/contacts.php': pagelink=6; break;
			case '/catering.php': pagelink=7; break;
		}

		document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
		document.write('  codebase="'+window.location.protocol+'://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ');
		document.write(' id="pizzajoes" width="808" height="70" align="">');
		document.write(' <param name="movie" value="images/menu.swf" /><param name="quality" value="high" /> <param name="bgcolor" value="#fca62e" /> <param name="flashvars" value="lastlink=' + pagelink + '&siteaddress=' + siteaddress + '" /> '); 
		document.write(' <embed src="images/menu.swf" quality="high" bgcolor="#fca62e"  ');
		document.write(' swLiveConnect="false" width="808" height="70" name="pizzajoes" align=""');
		document.write(' type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="lastlink=' + pagelink + '&siteaddress=' + siteaddress + '">');
		document.write(' </embed>');
		document.write(' </object>');
	} else{
		document.write('<table height="70" width="100%" cellpadding="0" cellspacing="0" style="padding-left:10px; padding-right:10px;"><tr>');
		document.write('<td><a href="index.php"><img src="images/btn_home.gif" border="0" /></a></td>');
		document.write('<td><a href="order.php"><img src="images/btn_orderonline.gif" border="0" /></a></td>');
		document.write('<td><a href="menu.php"><img src="images/btn_menu.gif" border="0" /></a></td>');
		document.write('<td><a href="coupons.php"><img src="images/btn_coupons.gif" border="0" /></a></td>');
		document.write('<td><a href="faq.php"><img src="images/btn_faq.gif" border="0" /></a></td>');
		document.write('<td><a href="contacts.php"><img src="images/btn_contacts.gif" border="0" /></a></td>');
		document.write('<td><a href="catering.php"><img src="images/btn_catering.gif" border="0" /></a></td>');
		document.write('</tr></table>');
	}
}