var timeTaken;var str;var s;
function myDate (){current = new Date( ); s = current.toString( );return s}

var statusstr="Welcome to my quiz \"Who is it ?\" .... "; var task_id; var myText; var scrolling=false; function scroll() { window.status=statusstr; statusstr=statusstr.substring(1,statusstr.length) + statusstr.substring(0,1); task_id=window.setTimeout("scroll()",150); return;} function StartScroll () { window.clearTimeout(task_id); scroll(); scrolling=true; return;} function StopScroll () { if (scrolling) {window.clearTimeout(task_id); scrolling=false;} return;} function ShowText() { window.status=myText; window.clearTimeout(task_id); scrolling=false; task_id=window.setTimeout("ShowText()",150); return;}

function time() {
document.Wer.doSubmit.value=myDate();atStop=new Date();timeTaken=(atStop.getTime()-atStart.getTime())/1000;timeTaken=Math.round(timeTaken);str='time taken (in seconds): ';document.Wer.result.value=str + timeTaken;
return true}

function getCookie(name){
var cname = name + "=";               
var dc = document.cookie;             
    if (dc.length > 0) {              
    begin = dc.indexOf(cname);       
        if (begin != -1) {           
        begin += cname.length;       
        end = dc.indexOf(";", begin);
            if (end == -1) end = dc.length;
            return unescape(dc.substring(begin, end));
        } 
    }
return null;
}

function doOpen() {
location="solutionEnglish.html";
return 1;
}




