<html>

<head>

<title>JScripterman Size Chart for Men</title>
<SCRIPT LANGUAGE="javascript">
function size(type, lowend, highend){
	this.type= type;
	this.lowend = lowend;
	this.highend = highend;}

var Necksize = new Array(4);
var Chestsize = new Array(4);
var Waistsize = new Array(4);
var Armsize = new Array(4);
var measure = " ";
var caption =" ";
var chart = " ";
var firstload=false;

	

function English () {

		measure = "<HTML><BODY BGCOLOR='cdba96'>";
		measure += "<P></P><CENTER>"
		measure += "<FORM name='toggle'><INPUT type='button' name='measurement' 
value='See Metric Measurements' onClick='parent.Metric()'>"
		measure += "</FORM></BODY></HTML>"

            	Necksize[0] = new size("small", "14", "14.5");
		Necksize[1] = new size("medium", "15","15.5");
		Necksize[2] = new size("large", "16", "16.5");
		Necksize[3] = new size("xlarge", "17","17.5");
	

		Chestsize[0] = new size("small", "34", "36");
		Chestsize[1] = new size("medium","38","40");
		Chestsize[2] = new size("large", "42","44");
		Chestsize[3] = new size("xlarge", "46", "48");

		Waistsize[0] = new size("small", "28",  "30");
		Waistsize[1] = new size("medium", "32", "34");
		Waistsize[2] = new size("large", "36", "38");
		Waistsize[3] = new size("xlarge", "40", "42");


		Armsize[0] = new size("small", "32.5",  "33");
		Armsize[1] = new size("medium", "33.5", "34");
		Armsize[2] = new size("large", "34.5", "35");
		Armsize[3] = new size("xlarge", "35.5", "36");
		
		caption =  "<B>Men's Sizes in Inches</B>";
		
		makechart();

		if (firstload==true)
			{init();}
		firstload = true;
          		
}

function makechart() {
 chart ="<HTML><BODY BGCOLOR='#ffe7ba'>";
 chart +="<CENTER><TABLE BORDER=2 CELLPADDING=8><CAPTION>" + caption + 
"</CAPTION>";
 chart +="<TR><TD>Sizes</TD><TD ALIGN=CENTER><B>Small</B></TD>
<TD ALIGN=CENTER><B>Medium</B></TD><TD ALIGN=CENTER><B>Large</B></TD>
<TD ALIGN=CENTER><B>X-Large</B></TD></TR>";
 chart +="<TR><TD ALIGN=LEFT><B>Neck</B></TD><TD ALIGN=CENTER>" + 
Necksize[0].lowend + " - " + Necksize[0].highend + "</TD><TD ALIGN=CENTER>" + 
Necksize[1].lowend + " - " + Necksize[1].highend + "</TD><TD ALIGN=CENTER>" + 
Necksize[2].lowend + " - " + Necksize[2].highend + "</TD><TD ALIGN=CENTER>" + 
Necksize[3].lowend + " - " + Necksize[3].highend + "</TD></TR>";
 chart +="<TR><TD ALIGN=LEFT><B>Chest</B></TD><TD ALIGN=CENTER>" + 
Chestsize[0].lowend + " - " + Chestsize[0].highend + "</TD>
<TD ALIGN=CENTER>" + Chestsize[1].lowend + " - " + Chestsize[1].highend + "</TD><TD 
ALIGN=CENTER>" + Chestsize[2].lowend + " - " + Chestsize[2].highend + "</TD><TD 
ALIGN=CENTER>" + Chestsize[3].lowend + " - " + Chestsize[3].highend + "</TD></TR>";
 chart +="<TR><TD ALIGN=LEFT><B>Waist</B></TD><TD ALIGN=CENTER>" + 
Waistsize[1].lowend + " - " + Waistsize[1].highend + "</TD><TD ALIGN=CENTER>" + 
Waistsize[2].lowend + " - " + Waistsize[2].highend + "</TD><TD ALIGN=CENTER>" + 
Waistsize[3].lowend + " - " + Waistsize[3].highend + "</TD><TD ALIGN=CENTER>" + 
Waistsize[3].lowend + " - " + Waistsize[3].highend + "</TD></TR>";
 chart +="<TR><TD ALIGN=LEFT><B>Arm</B></TD><TD ALIGN=CENTER>" + Armsize[0].lowend 
+ " - " + Armsize[0].highend + "</TD><TD ALIGN=CENTER>" + Armsize[1].lowend + " - " + 
Armsize[1].highend + "</TD><TD ALIGN=CENTER>" + Armsize[2].lowend + " - " + 
Armsize[2].highend + "</TD><TD ALIGN=CENTER>" + Armsize[3].lowend + " - " + 
Armsize[3].highend + "</TD></TR>";
 chart +="</TABLE><FORM><INPUT TYPE='button' VALUE='Close' 
onClick=parent.close()></FORM></CENTER>";
 chart +="</BODY></HTML>";
}


function Metric(){
	caption = "<B>Men's Sizes in Centimeters</B>";

	      	Necksize[0] = new size("small", "35.5", "37");
		Necksize[1] = new size("medium", "38","39.5");
		Necksize[2] = new size("large", "40.5", "42");
		Necksize[3] = new size("xlarge", "43","44.5");
	

		Chestsize[0] = new size("small", "86.5", "91.5");
		Chestsize[1] = new size("medium","96.5","101.5");
		Chestsize[2] = new size("large", "106.5","112");
		Chestsize[3] = new size("xlarge", "117", "122");

		Waistsize[0] = new size("small", "71",  "76");
		Waistsize[1] = new size("medium", "81.5", "86.5");
		Waistsize[2] = new size("large", "91.5", "96.5");
		Waistsize[3] = new size("xlarge", "101.5", "106.5");


		Armsize[0] = new size("small", "82.5",  "84");
		Armsize[1] = new size("medium", "85", "86.5");
		Armsize[2] = new size("large", "87.5", "89");
		Armsize[3] = new size("xlarge", "90", "91.5");

	            makechart();
   		measure = "<HTML><BODY BGCOLOR='cdba96'>";
		measure += "<P></P><CENTER>"
		measure += "<FORM name='toggle'><INPUT type='button' name='measurement' 
value='See English Measurements' onClick='parent.English()'>"
		measure += "</FORM></BODY></HTML>"

		init();

	}


function init(){
 		parent.chartfrm.location="javascript:parent.chart";	
		parent.buttonfrm.location="javascript:parent.measure";
	}

English();
</SCRIPT>

</head>

<frameset rows='52,*' frameborder=NO>

<frame src="javascript:parent.measure" name="buttonfrm" Border=none scrolling=no marginwidth=0 
marginheight=0>

<frame src="javascript:parent.chart" name="chartfrm" Border=none scrolling="auto" marginwidth=0 
marginheight=0>

</frameset>

</html>