function mailpage()
{
mail_str = "mailto:?subject=Check out the " + document.title;
mail_str += "&body=I thought you might be interested in the " + document.title;
mail_str += ". You can view this page via, " + location.href;
location.href = mail_str;
}



top.window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}




function resizeMe(obj){
docHeight = mainframe.document.body.scrollHeight

obj.style.height = docHeight 

}


function sendMyForm(){
	var mylogin;
	mylogin = document.logon.txtlogin.value;
	mylogin = mylogin + "@miricouncil.gov.my";
	document.logon.userid.value = mylogin;
}

function brief() {
    win2 = window.open("print/brief_print.html", "Window",
    "width=700,height=300,scrollbars=yes");
}

function profile() {
    win3 = window.open("print/profile_print.html", "Window",
    "width=700,height=300,scrollbars=yes");
}

function bg() {
    win4 = window.open("print/bg_print.html", "Window",
    "width=700,height=300,scrollbars=yes");
}

function message() {
    win5 = window.open("print/message_print.html", "Window",
    "width=700,height=300,scrollbars=yes");
}

function coun() {
    win6 = window.open("print/coun_print.html", "Window",
    "width=700,height=300,scrollbars=yes");
}

function func() {
    win7 = window.open("print/func_print.html", "Window",
    "width=700,height=300,scrollbars=yes");
}

function admin() {
    win8 = window.open("print/admin_print.html", "Window",
    "width=700,height=300,scrollbars=yes");
}

function dpt() {
    win9 = window.open("print/dpt_print.html", "Window",
    "width=700,height=300,scrollbars=yes");
}

function mag() {
    win10 = window.open("print/mag_print.html", "Window",
    "width=700,height=300,scrollbars=yes");
}

function org() {
    win11 = window.open("print/org_print.html", "Window",
    "width=700,height=300,scrollbars=yes");
}

function events() {
    win12 = window.open("print/event_print.html", "Window",
    "width=700,height=300,scrollbars=yes");
}

function press() {
    win13 = window.open("print/press_print.html", "Window",
    "width=700,height=300,scrollbars=yes");
}

function press1() {
    win14 = window.open("print/press_print1.html", "Window",
    "width=700,height=300,scrollbars=yes");
}

function press2() {
    win15 = window.open("print/press_print2.html", "Window",
    "width=700,height=300,scrollbars=yes");
}

function press3() {
    win16 = window.open("print/press_print3.html", "Window",
    "width=700,height=300,scrollbars=yes");
}

function press4() {
    win17 = window.open("print/press_print4.html", "Window",
    "width=700,height=300,scrollbars=yes");
}

function miri() {
    win17 = window.open("print/miri_print.html", "Window",
    "width=700,height=300,scrollbars=yes");
}

function introm() {
    win17 = window.open("print/intro_print.html", "Window",
    "width=700,height=300,scrollbars=yes");
}

function place() {
    win17 = window.open("print/place_print.html", "Window",
    "width=700,height=300,scrollbars=yes");
}

function how() {
    win17 = window.open("print/how_print.html", "Window",
    "width=700,height=300,scrollbars=yes");
}

function map() {
    win17 = window.open("print/map_print.html", "Window",
    "width=700,height=300,scrollbars=yes");
}

function contact() {
    win17 = window.open("print/contact_print.html", "Window",
    "width=700,height=300,scrollbars=yes");
}

//







