Try wooing your Valentine with a song!

‘;
var printWin = window.open(“”,”printSpecial”);
printWin.document.open();
printWin.document.write(html);
printWin.print();

}

function setsrc() {
window.firstframe.location.href = “http://www.cityjournal.in/Newspaper/html/Feedback.aspx”;
window.secondframe.location.href = “http://www.cityjournal.in/Newspaper/html/Feedback_to_admin.aspx?id=”+parent.document.location.href+”categoryName=”+parent.document.getElementById(‘catSectionHeading’).innerHTML;
var manufacturer=navigator.appName;
if(manufacturer==”Microsoft Internet Explorer”) {
document.getElementById(“light1”).className = ‘white_content1_ie’;
document.getElementById(“fade1”).className = ‘black_overlay1_ie’;
document.getElementById(“light2”).className = ‘white_content2_ie’;
document.getElementById(“fade2”).className = ‘black_overlay2_ie’;
} else {
document.getElementById(“light1”).className = ‘white_content1_other’;
document.getElementById(“fade1”).className = ‘black_overlay1_other’;
document.getElementById(“light2”).className = ‘white_content2_other’;
document.getElementById(“fade2”).className = ‘black_overlay2_other’;
window.getElementById(“firstframe”).height=180;
}
}
function foo () {
return parent.document.getElementById(‘mailtext’).tBodies[0].innerHTML;
}
function checkIframeLoading() {
var iframe1 = window.firstframe;
if ( iframe1.document.readyState == ‘complete’ ) {
//alert(“inside”);
var str = foo();
//alert(window.firstframe);
//alert(window.firstframe.document);
//alert(window.firstframe.document.getElementById(“txt_content”));
window.firstframe.document.getElementById(“txt_content”).value = str;
//alert(window.firstframe.document.getElementById(“txt_content”).value);
window.firstframe.document.getElementById(‘txt_date’).value = parent.document.getElementById(“Hidden1”).value;
return;
}
var iframe2 = window.secondframe;
if ( iframe2.document.readyState == ‘complete’ ) {
window.secondframe.document.getElementById(“txt_date”).value = parent.document.getElementById(“Hidden1”).value;
}
window.setTimeout(‘checkIframeLoading();’, 100);
}

City Journal


City Journal Daily Online Newspaper

Sunday, 12 February 2012


Published from Thrissur

Posted in Articles | Tagged as: | Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *