//transPNGpic
var arVersion=navigator.appVersion.split("MSIE");var version=parseFloat(arVersion[1]);function transPNGPic(myImage){if((version>=5.5)&&(version<7)&&(document.body.filters))
{var imgID=(myImage.id)?"id='"+myImage.id+"' ":""
var imgClass=(myImage.className)?"class='"+myImage.className+"' ":""
var imgTitle=(myImage.title)?"title='"+myImage.title+"' ":"title='"+myImage.alt+"' "
var imgStyle="display:inline-block;"+myImage.style.cssText
var strNewHTML="<span "+imgID+imgClass+imgTitle
+" style=\""+"cursor:hand;width:"+myImage.width
+"px; height:"+myImage.height
+"px;"+imgStyle+";"
+"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
+"(src=\'"+myImage.src+"\', sizingMethod='scale');\"></span>"
myImage.outerHTML=strNewHTML;}}

function footer(siteType)
{
	//siteType = (siteType == 'arab_dp' ) ? siteType : 'arab_dp';
	if( siteType == 'arab_dp')
	{
      var str1 = '<dl><dt><a href="http://arab.gamedp.com/"><img onload="transPNGPic(this)" alt="arab.gamedp.com" src="http://images.gamedp.com/arab/images/20100504/dp_logo.png"></a></dt><dd><a href="http://arab.gamedp.com/about/about.shtml">&#1605;&#1606; &#1606;&#1581;&#1606;</a> | <a href="http://arab.gamedp.com/about/refund_policy.shtml">&#1587;&#1610;&#1575;&#1587;&#1577; &#1575;&#1604;&#1585;&#1583;</a> | <a href="http://arab.gamedp.com/about/partners.shtml">&#1575;&#1604;&#1588;&#1585;&#1603;&#1575;&#1569;</a> | <a href="http://arab.gamedp.com/about/legal_documents.shtml">&#1575;&#1604;&#1608;&#1579;&#1575;&#1574;&#1602; &#1575;&#1604;&#1602;&#1575;&#1606;&#1608;&#1606;&#1610;&#1577;</a> | <a href="http://arab.gamedp.com/about/support.shtml">&#1575;&#1604;&#1578;&#1571;&#1610;&#1610;&#1583; </a><br>&#1581;&#1602;&#1608;&#1602; &#1575;&#1604;&#1578;&#1571;&#1604;&#1610;&#1601; &#1608;&#1575;&#1604;&#1606;&#1588;&#1585; &copy; 2008-2012 arab.GameDP.com &#1580;&#1605;&#1610;&#1593; &#1581;&#1602;&#1608;&#1602; &#1605;&#1581;&#1601;&#1608;&#1592;&#1577;.</dd></dl>'
      document.write(str1);       
		}	
	else if( siteType == 'arab_dc')
	{
      var str1 = '<dl><dt><a href="http://arab.gamedp.com/"><img onload="transPNGPic(this)" alt="arab.gamedp.com" src="http://images.gamedp.com/arab/images/20100504/dp_logo.png"></a></dt><dd><a href="http://arab.gamedp.com/about/about.shtml">&#1605;&#1606; &#1606;&#1581;&#1606;</a> | <a href="http://arab.gamedp.com/about/refund_policy.shtml">&#1587;&#1610;&#1575;&#1587;&#1577; &#1575;&#1604;&#1585;&#1583;</a> | <a href="http://arab.gamedp.com/about/partners.shtml">&#1575;&#1604;&#1588;&#1585;&#1603;&#1575;&#1569;</a> | <a href="http://arab.gamedp.com/about/legal_documents.shtml">&#1575;&#1604;&#1608;&#1579;&#1575;&#1574;&#1602; &#1575;&#1604;&#1602;&#1575;&#1606;&#1608;&#1606;&#1610;&#1577;</a> | <a href="http://arab.gamedp.com/about/support.shtml">&#1575;&#1604;&#1578;&#1571;&#1610;&#1610;&#1583; </a><br>&#1581;&#1602;&#1608;&#1602; &#1575;&#1604;&#1578;&#1571;&#1604;&#1610;&#1601; &#1608;&#1575;&#1604;&#1606;&#1588;&#1585; &copy; 2008-2012 arab.GameDP.com &#1580;&#1605;&#1610;&#1593; &#1581;&#1602;&#1608;&#1602; &#1605;&#1581;&#1601;&#1608;&#1592;&#1577;.</dd><dd>&#1575;&#1582;&#1578;&#1585; &#1604;&#1594;&#1577;: <select id="lang_select" onchange="javascript:window.location=this.value;"><option value="http://dc.gamedp.com/index/" >English</option><option value="http://tineen.gamedp.com/index/" selected="selected">&#1593;&#1585;&#1576;&#1610;</option></select></dd></dl>'
      document.write(str1);       
		}	
	}
