User:Sandipmail85/sandbox

function showDate { var d = new Date; document.getElementById("date").innerHTML = d.toLocaleString; var t1=setTimeout("showDate;", 1000) } div {font-style:italic;float:left;height:60px;width:"40%";}
 * 1) div1 { }
 * 2) div2 {}
 * 3) div3 {width:"20%";text-align:right;}
 * 4) statusbar{width:33%; float:left; height:0px; text-align:left;}
 * 5) statusbar2{width:33%; float:left; height:0px; text-align:right;}
 * 6) statusbar1{width:34%; float:left; height:0px; text-align:center;}

iframe {width:100%; height:100%;border:4px solid black} Engineering --> New Proposal Developed and maintained by Chiku Technologies 
 * 1) divhead {width:100%; background-color:white; text-align:center;font-size:2em;}
 * 2) menu {width:100%; background-color:white; text-align:center;}
 * 3) frame {width:100%; height:700px; frameborder:2}

function funInc { var d = new Date; var f = new Date("October 18, 2012 00:00:01"); var n = (d-f)/(1000 * 60 * 60 * 24); var b= n * 900; var s = n * 1200; k = n * 400; var e = k - document.getElementById("txt").value; document.getElementById("tdate").innerHTML = d.toLocaleString; document.getElementById("fdate").innerHTML = f.toLocaleString; document.getElementById("days").innerHTML = n.toFixed(4); document.getElementById("pallo").innerHTML = b.toFixed(2) ; document.getElementById("salary").innerHTML = s.toFixed(2); document.getElementById("tear").innerHTML = (s+b).toFixed(2); if(((s+b).toFixed(2)%1)==0) {alert('hi');} document.getElementById("akhar").innerHTML = k.toFixed(2); //var randomColor = Math.floor(Math.random*16777215).toString(16); document.getElementById("aexp").innerHTML = e.toFixed(2); //if(e<0) {document.getElementById("aexp").innerHTML = '' + e.toFixed(2) + ' Control Madi ';} //else {document.getElementById("aexp").innerHTML = e.toFixed(2) + ' Enjoy Madi' ;} var t1=setTimeout("funInc;", 1000) } 