//<script type="text/javascript"><!--
function googleAdSquare()
    {
        google_ad_client = "pub-3584842800367340";
        /* RM_300x250, created 16/06/08 */
        google_ad_slot = "1631979569";
        google_ad_width = 300;
        google_ad_height = 250;
    }
function googleAdVert()
    {
        google_ad_client = "pub-3584842800367340";
        /* 120x600, created 21/05/08 */ 
        google_ad_slot = "6391221687";
        google_ad_width = 120;
        google_ad_height = 600; 
    }
function googleAdBottom()
    {
        google_ad_client = "pub-3584842800367340";
        /* Raisemoney-728x15, created 16/06/08 */
        google_ad_slot = "6340056698";
        google_ad_width = 728;
        google_ad_height = 15;
    }
//-->
//</script>
var i;
function glow()
{
i=0;
interval=setInterval("makeglow(myLink)",100);
}

function noglow()
{
clearInterval(interval);
document.getElementById('myLink').style.filter=false;
}

function makeglow()
{
i++;
if (i<5)
	{
	document.getElementById('myLink').style.filter="glow(color=#FF00FF,strength=" + i + ")";
	}
else if (window.interval)
	{
	clearInterval(interval);
	}
}
function submitForm(frmName)
    {
        document.getElementById(frmName).submit();
    }
    
	// Andrew Urquhart : CountDown Timer : http://andrewu.co.uk/clj/countdown/
function CD_UD(s,id){CD_OBJS[id].innerHTML=s};
function CD_T(id,e){var n=new Date();
var p=1E3-n.getMilliseconds();
setTimeout("CD_T('"+id+"',"+e+")",p);
CD_D(+n,id,e)};
function CD_D(n,id,e)
{
	var ms=e-n;
	if(ms<=0) 
		ms*=-1;
	var d=Math.floor(ms/864E5);
	ms-=d*864E5;
	var h=Math.floor(ms/36E5);
	ms-=h*36E5;
	var m=Math.floor(ms/6E4);
	ms-=m*6E4;
	var s=Math.floor(ms/1E3);
	CD_UD(d+" day"+(d==1?" ":"s ")+CD_ZP(h)+"h "+CD_ZP(m)+"m "+CD_ZP(s)+"s",id)
}
function CD_ZP(i)
	{
		return(i<10?"0"+i:i)
	} 
function CD_Init()
	{
		var pref="countdown";
		var objH=1;
		if(document.getElementById||document.all)
			{
				for(var i=1;objH;++i)
					{
						var id=pref+i;
						objH=document.getElementById?document.getElementById(id):document.all[id];
						if(objH&&(typeof objH.innerHTML)!='undefined')
							{
								var s=objH.innerHTML;
								var dt=new Date(s);
								if(!isNaN(dt))
									{
										CD_OBJS[id]=objH;CD_T(id,dt.valueOf());
										if(objH.style)
											{
												objH.style.visibility="visible"
											}
									}
								else 
									{
										objH.innerHTML=s+"<a href=\"http://andrewu.co.uk/clj/countdown/\" title=\"Countdown Error:Invalid date format used,check documentation (see link)\">*</a>"
									}
							}
					}
			}
	}
var CD_OBJS=new Object();
if(window.attachEvent)
	{
		window.attachEvent('onload',CD_Init)
	}
else if(window.addEventListener)
	{
		window.addEventListener("load",CD_Init,false)
	}
else 
	{
		window.onload=CD_Init
	} 
