function header(title){
if(title == "home"){
	var head = "<div align=\"center\" id=\"aboutus\"><b>MIYABI - Japanese Relaxation Massage Melbourne CBD, Victoria, Australia :: Aroma Therapy, Reflexology & Shiatsu</b></div>"+
	"<body bgcolor=\"#f7efce\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">"+
	"<table id=\"Table_01\" bgcolor=\"#ffffff\" width=\"878\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\">"+
"<tr>"+
	"<td rowspan=\"5\" width=\"1\" bgcolor=\"#8E7159\"></td>"+
    "<td height=\"217\" background=\"images/sub_bg.gif\" align=\"center\" valign=\"bottom\">"+
		"<div style=\"position:absolute; left:expression((document.body.clientWidth/2)+120); top: 170px; width:333px;\">"+
"<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"+
"<tr>"+
	"<td width=\"66\" valign=\"bottom\"><a href=\"home.html\" target=\"a\"><img src=\"images/main_menu_english.gif\"></a></td>"+
	"<td width=\"66\" valign=\"bottom\"><a href=\"jap/home.html\" target=\"a\"><img src=\"images/main_menu_japanese.gif\"></a></td>"+
	"<td><img src=\"images/sub_phonenum.gif\"></td>"+
"</tr>"+
"</table></div>"+
		"<img src=\"images/logo_miyabi.gif\" border=\"0\"></td>"+
    "<td rowspan=\"5\" width=\"1\" bgcolor=\"#8E7159\"></td>"+
"</tr>"+
"<tr>"+
	"<td height=\"37\"></td>"+
"</tr>"+
"<tr>"+
	"<td>";
}
else{
	var head = "<div align=\"center\" id=\"aboutus\"><b>MIYABI - Japanese Relaxation Massage Melbourne CBD, Victoria, Australia :: Aroma Therapy, Reflexology & Shiatsu</b></div>"+
	"<body bgcolor=\"#f7efce\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">"+
	"<table id=\"Table_01\" bgcolor=\"#ffffff\" width=\"878\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\">"+
"<tr>"+
	"<td rowspan=\"5\" width=\"1\" bgcolor=\"#8E7159\"></td>"+
    "<td height=\"217\" background=\"images/sub_bg.gif\" align=\"center\" valign=\"bottom\"><img src=\"images/logo_miyabi.gif\" border=\"0\"></td>"+
    "<td rowspan=\"5\" width=\"1\" bgcolor=\"#8E7159\"></td>"+
"</tr>"+
"<tr>"+
	"<td height=\"17\"></td>"+
"</tr>"+
"<tr>"+
	"<td>"+
    "<!--contents table start -->"+
    	"<table id=\"contents\" width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">"+
        "<tr>"+
        	"<td width=\"28\"></td>"+
            "<td width=\"155\" valign=\"top\">"+
            "<!--menu table start -->"+
            "<table id=\"menu\" width=\"155\" height=\"296\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">"+
            "<tr>"+
            	"<td height=\"62\"><img src=\"images/sub_phonenum.gif\" border=\"0\"></td>"+
            "</tr>"+
            "<tr>"+
            	"<td height=\"8\"></td>"+
            "</tr>"+
            "<tr>"+
            	"<td height=\"225\">"+
				 "<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"154\" height=\"230\" id=\"menu\" align=\"middle\">"+
					 "<param name=\"allowScriptAccess\" value=\"sameDomain\" />"+
					 "<param name=\"allowFullScreen\" value=\"false\" />"+
					 "<param name=\"movie\" value=\"flash/menu.swf\" /><param name=\"quality\" value=\"high\" /><param name=\"bgcolor\" value=\"#ffffff\" />	<embed src=\"flash/menu.swf\" quality=\"high\" bgcolor=\"#ffffff\" width=\"154\" height=\"230\" name=\"menu\" align=\"middle\" allowScriptAccess=\"sameDomain\" allowFullScreen=\"false\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />"+
				 "</object>"+
				 "</td>"+
            "</tr>"+
           /*"<tr>"+
				"<td>"+
					"<table cellpadding=\"1\" cellspacing=\"1\">"+
						"<tr><td><a href=\"index.html\" class=\"linkopacity\"><img src=\"links/home.jpg\" border=\"0\" /></td></tr>"+
						"<tr><td><a href=\"aboutus.html\" class=\"linkopacity\"><img src=\"links/aboutus.jpg\" border=\"0\" /></td></tr>"+
						"<tr><td><a href=\"treatment.html\" class=\"linkopacity\"><img src=\"links/treatments.jpg\" border=\"0\" /></td></tr>"+
						"<tr><td><a href=\"booking.html\" class=\"linkopacity\"><img src=\"links/bookings.jpg\" border=\"0\" /></td></tr>"+
						"<tr><td><a href=\"location.html\" class=\"linkopacity\"><img src=\"links/location.jpg\" border=\"0\" /></td></tr>"+
						"<tr><td><a href=\"info.html\" class=\"linkopacity\"><img src=\"links/info.jpg\" border=\"0\" /></td></tr>"+
						"<tr><td><a href=\"contactus.html\" class=\"linkopacity\"><img src=\"links/contactus.jpg\" border=\"0\" /></td></tr>"+
					"</table>"+
				"</td>"+
			"</tr>"+*/
            "</table>"+
            "<!--menu table end -->"+
            "</td>"+
            "<td width=\"52\"></td>"+
            "<td>"+
            "<!--*********atricles table start********* -->"+
    		"<table id=\"articles\" width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">"+
            "<tr>"+
            	"<td height=\"25\" valign=\"top\"><img src=\"images/sub_title_"+ title +".gif\" alt=\""+ title +"\" border=\"0\"></td>"+
            "</tr>"+
            "<tr>"+
            	"<td height=\"3\"><img src=\"images/sub_articleline.gif\" width=\"642\" height=\"3\"></td>"+
            "</tr>"+
            "<tr>"+
            	"<td height=\"23\"></td>"+
            "</tr>"+
            "<tr>"+
            	"<td>"+
                "<!--text start -->"+
                "<table border=\"0\" width=\"616\" height=\"100%\" cellpadding=\"0\" cellspacing=\"0\">"+
                "<tr>"+
                	"<td valign=\"top\">";
}

document.write(head);
}

function header_treatment(num){
var treatment_height = new Array();
	treatment_height[1] = 155;
	treatment_height[2] = 146;
	treatment_height[3] = 154;
	treatment_height[4] = 154;
	treatment_height[5] = 139;

var treatment_width = new Array();
	treatment_width[1] = 290;
	treatment_width[2] = 305;
	treatment_width[3] = 287;
	treatment_width[4] = 294;
	treatment_width[5] = 279;

var head = "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">"+
  "<tr>"+
    "<td>"+
	"<table cellpadding=\"0\" cellspacing=\"0\">"+
"<tr>"+
	"<td background=\"images/sub_treatment_menubg.gif\" width=\"614\" height=\"24\">"+
	"<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" width=\"613\" height=\"24\" id=\"sub_treatment_menu\" align=\"middle\">"+
	"<param name=\"allowScriptAccess\" value=\"sameDomain\" />"+
	"<param name=\"allowFullScreen\" value=\"false\" />"+
	"<param name=\"wmode\" value=\"transparent\">"+
	"<param name=\"movie\" value=\"flash/sub_treatment_menu.swf\" /><param name=\"quality\" value=\"high\" /><param name=\"bgcolor\" value=\"#ff00ff\" />	<embed src=\"flash/sub_treatment_menu.swf\" quality=\"high\" bgcolor=\"#ff00ff\" width=\"613\" height=\"24\" name=\"sub_treatment_menu\" align=\"middle\" allowScriptAccess=\"sameDomain\" allowFullScreen=\"false\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />"+
	"</object>"+
	"</td>"+
"</tr>"+
"</table>"+

 /*   "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">"+
    "<tr>"+
    	"<td><img src=\"images/sub_treatment_left.gif\"></td>"+
        "<td><a href=\"treatment.html\"><img src=\"images/sub_treatment_01.gif\"></a></td>"+
        "<td><img src=\"images/sub_treatment_divider.gif\"></td>"+
        "<td><a href=\"treatment_aroma.html\"><img src=\"images/sub_treatment_02.gif\"></td>"+
        "<td><img src=\"images/sub_treatment_divider.gif\"></td>"+
        "<td><a href=\"treatment_reflexology.html\"><img src=\"images/sub_treatment_03.gif\"></td>"+
        "<td><img src=\"images/sub_treatment_divider.gif\"></td>"+
        "<td><a href=\"treatment_shiatsu.html\"><img src=\"images/sub_treatment_04.gif\"></td>"+
        "<td><img src=\"images/sub_treatment_divider.gif\"></td>"+
        "<td><a href=\"treatment_other.html\"><img src=\"images/sub_treatment_05.gif\"></td>"+
        "<td><img src=\"images/sub_treatment_right.gif\"></td>"+
    "</tr>"+
    "</table>"+*/
    "</td>"+
  "</tr>"+
  "<tr>"+
    "<td height=\"25\"></td>"+
  "</tr>"+
  "<tr>"+
    "<td height=\"30\" valign=\"top\"><img src=\"images/sub_treatment_title_"+ num +".gif\"></td>"+
  "</tr>"+
  "<tr>"+
    "<td>"+
    
    "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"+
    "<tr>"+
    	"<td>"+
	"<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\""+ treatment_width[eval(num)] +"\" height=\""+ treatment_height[eval(num)] +"\" id=\"menu\" align=\"middle\">"+
					 "<param name=\"allowScriptAccess\" value=\"sameDomain\" />"+
					 "<param name=\"allowFullScreen\" value=\"false\" />"+
					 "<param name=\"movie\" value=\"flash/treatment_"+ num +".swf\" /><param name=\"quality\" value=\"high\" /><param name=\"bgcolor\" value=\"#ffffff\" />	<embed src=\"flash/treatment_"+ num +".swf\" quality=\"high\" bgcolor=\"#ffffff\" width=\""+ treatment_width[eval(num)] +"\" height=\""+ treatment_height[eval(num)] +"\" name=\"menu\" align=\"middle\" allowScriptAccess=\"sameDomain\" allowFullScreen=\"false\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />"+
				 "</object>"+
	"</td>"+
        "<td width=\"17\"></td>"+
    	"<td><img src=\"images/sub_treatment_price_"+ num +".gif\"></td>"+
    "</tr>"+
    "</table>"+

    "</td>"+
  "</tr>"+
  "<tr>"+
    "<td height=\"20\"></td>"+
  "</tr>"+
  "<tr>"+
    "<td>"
//alert(treatment_width[eval(num)] +"\n"+ treatment_height[eval(num)]);
document.write(head);
}