//Copyright timeanddate.com 2005-2009, do not use without permission

prevTopic="none";function updReads(value){he("read"+prevTopic,0);he("read"+value,1);prevTopic=value;checksize();}
function validateForm(){var f=document.feedback;var me=gf("bodycmt");var txt="";var c=f.body.value;if(c.length<3){txt="Please enter something in the Feedback field";}
var l=c.toLowerCase();if(l.indexOf("<a")>=0){txt="HTML should not be typed, please use plain text";}
ih(me,txt);he("bodycmt",txt);if(txt){checksize();return!1;}
c=f.email.value;if(chke(c)){return confirm("Your email address is missing or invalid.\n\nWe recommend that you specify a correct email address so that we can contact you.\n\nMany messages without a valid email address are useless, because they do not contain enough details, and often we have a solution, but are not able to get back to the user.\n\nDo you still want to send the feedback without your email address?\n\nClick OK to send, Cancel to enter your address");}}
function chke(e){return(e.search(/[^@ ]+\@[^\@ ]+\.[^\@ ]+/)<0);}
function siv(e){if(e.scrollIntoView){e.scrollIntoView(false);}}
function fbce(){var f=document.feedback;var e=f.email.value;var me=gf("emailcmt");var txt="";if(chke(e)){txt="Please provide a valid email address above";}
ih(me,txt);he("emailcmt",txt);}
function fbinit(){var w=window,d=w.document,f=d.feedback,s=w.screen,b=d.body,p=w.parent,n=navigator,l=["appCodeName","appName","appVersion","cookieEnabled","userAgent"];var pb=null;try{f.jsscreen.value=s.width+" "+s.height+" "+s.availWidth+" "+s.availHeight+" "+s.colorDepth+" ";}catch(e1){f.jsscreen.value="no jssscreen";}
try{pb=p.document.body;f.jswindow.value=pb.offsetWidth+" "+pb.offsetHeight+" "+pb.clientWidth+" "+pb.clientHeight;}catch(e2){f.jswindow.value="no jswindow";}
try{f.referrer.value=p.document.referrer;}catch(e3){f.referrer.value="no referrer";}
var fih="";try{if(pb){var pbp=pb.parentNode;if(pbp){fih=pbp.innerHTML;}
if(!fih){fih=pb.innerHTML;}}}catch(e4){fih="no html";}
f.pagehtml.value=fih;f.purl.value=p.location.href;if(p!=w){f.inFrame.value="1";}
if(n){for(i in l){m=l[i];f[m].value=n[m];}}
siv(f.sm);checksize();}
function checksize(){var w=window,p=w.parent,d=w.document,b=d.body,i,fb;if(p==w){return;}
i=b.scrollHeight-b.clientHeight;if(i>0){fb=p.document.getElementById("FBF");if(fb){fb.height=fb.height-0+i+2;}}}