// JavaScript Document
//Created by GRR on 8th April 2006
//This code is used to get the users screen resolution so the correct style sheet can be selected.
//If the users screen resolution is equal to 1024x768 or higher then the stlye sheet for a 1024x768 will be selected
//If the users screen resolution is less than 1024x768 then the stlye sheet for a 800x600 will be selected

//Also the screen size will inserted in to the database for marketing perposses in the future

<!--          
//document.write("SCREEN WIDTH = " + screen.width + " SCREEN HEIGHT = " + screen.height)              
var varScreenResolution = screen.width + "x" + screen.height 
//document.write("<br>varScreenResolution = " + varScreenResolution)  
	
		//use style sheet StyleSheet1024x768 for 1024x768 size screen 	
		document.write("<table width='100%' border='0' cellspacing='0' cellpadding='0'>");
		  document.write("<tr>");
			document.write("<td width='45%'>&nbsp;</td>");
			document.write("<td width='55%' align='right' valign='bottom'>");
				    document.write("<a href=javascript:f('s')><img title='Small Font Size' alt='Small Font Size' src='PageLayoutImages/FontSize_S.gif' border='0'></a>");
					document.write("<a href=javascript:f('m')><img title='Medium Font Size' alt='Medium Font Size' src='PageLayoutImages/FontSize_M.gif' border='0'></a>");
					document.write("<a href=javascript:f('l')><img title='Large Font Size' alt='Large Font Size' src='PageLayoutImages/FontSize_L.gif' border='0'></a>");
					document.write("<a href=javascript:f('xl')><img title='Extra Large Font Size' alt='Extra Large Font Size' src='PageLayoutImages/FontSize_XL.gif' border='0'></a>");
					document.write("<a href=javascript:f('xxl')><img title='Extra Extra Large Font Size' alt='Extra Extra Large Font Size' src='PageLayoutImages/FontSize_XXL.gif' border='0'></a>");
						   
					document.write("<a href='#' onclick='Btn_Blue_CCECFF()'><img src='PageLayoutImages/Btn_Blue_CCECFF.gif' width='20' height='20' border='0' alt='Blue #CCECFF' title='Blue #CCECFF'></a>");
					document.write("<a href='#' onclick='Btn_White_FFFFFF()'><img src='PageLayoutImages/Btn_White_FFFFFF.gif' width='20' height='20' border='0' alt='White #FFFFFF' title='White #FFFFFF'></a>");
					document.write("<a href='#' onclick='Btn_Blue_CCFFFF()'><img src='PageLayoutImages/Btn_Blue_CCFFFF.gif' width='20' height='20' border='0' alt='Blue #CCFFFF' title='Blue #CCFFFF'></a>");
					document.write("<a href='#' onclick='Btn_Green_CCFFCC()'><img src='PageLayoutImages/Btn_Green_CCFFCC.gif' width='20' height='20' border='0' alt='Green #CCFFCC' title='Green #CCFFCC'></a>");
					document.write("<a href='#' onclick='Btn_Pink_FFDDDD()'><img src='PageLayoutImages/Btn_Pink_FFDDDD.gif' width='20' height='20' border='0' alt='Pink #FFDDDD' title='Pink #FFDDDD'></a>");
					document.write("<a href='#' onclick='Btn_Grey_EAEAEA()'><img src='PageLayoutImages/Btn_Grey_EAEAEA.gif' width='20' height='20' border='0' alt='Grey #EAEAEA' title='Grey #EAEAEA'></a>");
					document.write("<a href='#' onclick='Btn_Purple_FFCCFF()'><img src='PageLayoutImages/Btn_Purple_FFCCFF.gif' width='20' height='20' border='0' alt='Purple #FFCCFF' title='Purple #FFCCFF'></a>");    
					document.write("<a href='#' onclick='Btn_Yellow_FFFF00()'><img src='PageLayoutImages/Btn_Yellow_FFFF00.gif' width='20' height='20' border='0' alt='Yellow #FFFF00' title='Yellow #FFFF00'></a>");   
						   
		   document.write("</td>");
		   document.write("</tr>");
		
		  document.write("<tr>");
		  if ((screen.width>=1024) && (screen.height>=768)){ 
			document.write("<td width='45%' align='left' valign='bottom'><img src='PageLayoutImages/BrandName_Big.gif' alt='Stedmark Ltd' title='Stedmark Ltd' align='bottom'>&nbsp;<img src='PageLayoutImages/FlagUK.gif' alt='Stedmark Ltd UK Branch' title='Stedmark Ltd UK Branch' align='bottom'></td>");
			document.write("<td width='55%' align='right' valign='bottom'><img src='PageLayoutImages/SpecialistGasBurnerSolutions.gif' alt='Stedmark Ltd' title='Stedmark Ltd' width='245' height='16'></td>");
		  	} 
			else{ 
			//use style sheet for 800x600 screen
		  	document.write("<td width='45%' align='left' valign='bottom'><img src='PageLayoutImages/BrandName_Small.gif' alt='Stedmark Ltd' title='Stedmark Ltd' align='bottom'>&nbsp;<img src='PageLayoutImages/FlagUK.gif' alt='Stedmark Ltd UK Branch' title='Stedmark Ltd UK Branch' align='bottom'></td>");
			document.write("<td width='55%' align='right' valign='bottom'><img src='PageLayoutImages/SpecialistGasBurnerSolutions.gif' alt='Stedmark Ltd' title='Stedmark Ltd' width='245' height='16'></td>");
		}
		  document.write("</tr>");
		  document.write("<tr>");
			document.write("<td colspan='2' align='left'><img src='PageLayoutImages/Transparent_w1h4px.gif' width='100%' height='4'></td>");
		  document.write("</tr>");
		   document.write("<tr>");
			
			document.write("<td colspan='2' align='right' background='PageLayoutImages/Blue_w1h26px.gif'>");
						   	document.write("<a href='index.htm' style='text-decoration:none'><span class='BodyTxt-83Percent-W-B'>Home</span></a><span class='BodyTxt-83Percent-W-B'>&nbsp;|&nbsp;</span>");
							document.write("<a href='AboutUs.htm' style='text-decoration:none'><span class='BodyTxt-83Percent-W-B'>About Us</span></a><span class='BodyTxt-83Percent-W-B'>&nbsp;|&nbsp;</span>");
							document.write("<a href='EmailForm.htm' style='text-decoration:none'><span class='BodyTxt-83Percent-W-B'>Contact Us</span></a><span class='BodyTxt-83Percent-W-B'>&nbsp;</span>");
																  
										  
			document.write("</td>");

		 document.write("</tr>");
		   document.write("<tr>");
			document.write("<td colspan='2' align='left'><img src='PageLayoutImages/White_w1h1px.gif' width='100%' height='1'></td>");
		  document.write("</tr>");
		  document.write("<tr>");

//NOTE: That JavaScript counts the months in the year starting with 0 for January and 11 for December. 
//NOTE: There for i have add 1 to the month to reflect the real month such as January is 1, February is 2 etc...
		var current_date = new Date();
		var current_day = current_date.getDate();
		var current_month = current_date.getMonth()+1;

			//DEMO///////////////////////
			//if (current_month == 1){ //January
				//if (current_day == 18){
					//document.write("bob");
				//} 
			//}
			//DEMO END///////////////////////
			if (current_month == 1){ 
			//January////////////////////////////////////////////////////////////////////////////////////////
				if ((screen.width>=1024) && (screen.height>=768)){
					document.write("<td colspan='2' align='center' bgcolor='#000000'><img src='PageLayoutImages/Banner1_1024.jpg' width='100%' height='130' alt='Stedmark Ltd: Specialist in Gas Burner Solutions' title='Stedmark Ltd: Specialist in Gas Burner Solutions'></td>");
					} 
					else{ 
					//use style sheet for 800x600 screen
					document.write("<td colspan='2' align='center' bgcolor='#ffffff'><img src='PageLayoutImages/Banner1_1024.jpg' width='769' height='80' alt='Stedmark Ltd: Specialist in Gas Burner Solutions' title='Stedmark Ltd: Specialist in Gas Burner Solutions'></td>");
				}
			//January////////////////////////////////////////////////////////////////////////////////////////
			}
			else if (current_month == 2){
			//February////////////////////////////////////////////////////////////////////////////////////////
				if ((screen.width>=1024) && (screen.height>=768)){
					document.write("<td colspan='2' align='center' bgcolor='#000000'><img src='PageLayoutImages/Banner1_1024.jpg' width='100%' height='130' alt='Stedmark Ltd: Specialist in Gas Burner Solutions' title='Stedmark Ltd: Specialist in Gas Burner Solutions'></td>");
					} 
					else{ 
					//use style sheet for 800x600 screen
					document.write("<td colspan='2' align='center' bgcolor='#ffffff'><img src='PageLayoutImages/Banner1_1024.jpg' width='769' height='80' alt='Stedmark Ltd: Specialist in Gas Burner Solutions' title='Stedmark Ltd: Specialist in Gas Burner Solutions'></td>");
				}
			//February////////////////////////////////////////////////////////////////////////////////////////
			}
			else if (current_month == 3){
			//March////////////////////////////////////////////////////////////////////////////////////////
				if ((screen.width>=1024) && (screen.height>=768)){
					document.write("<td colspan='2' align='center' bgcolor='#000000'><img src='PageLayoutImages/Banner1_1024.jpg' width='100%' height='130' alt='Stedmark Ltd: Specialist in Gas Burner Solutions' title='Stedmark Ltd: Specialist in Gas Burner Solutions'></td>");
					} 
					else{ 
					//use style sheet for 800x600 screen
					document.write("<td colspan='2' align='center' bgcolor='#ffffff'><img src='PageLayoutImages/Banner1_1024.jpg' width='769' height='80' alt='Stedmark Ltd: Specialist in Gas Burner Solutions' title='Stedmark Ltd: Specialist in Gas Burner Solutions'></td>");
				}
			//March////////////////////////////////////////////////////////////////////////////////////////
			}
			else if (current_month == 4){
			//April////////////////////////////////////////////////////////////////////////////////////////
				if ((screen.width>=1024) && (screen.height>=768)){
					document.write("<td colspan='2' align='center' bgcolor='#000000'><img src='PageLayoutImages/Banner1_1024.jpg' width='100%' height='130' alt='Stedmark Ltd: Specialist in Gas Burner Solutions' title='Stedmark Ltd: Specialist in Gas Burner Solutions'></td>");
					} 
					else{ 
					//use style sheet for 800x600 screen
					document.write("<td colspan='2' align='center' bgcolor='#ffffff'><img src='PageLayoutImages/Banner1_1024.jpg' width='769' height='80' alt='Stedmark Ltd: Specialist in Gas Burner Solutions' title='Stedmark Ltd: Specialist in Gas Burner Solutions'></td>");
				}
			//April////////////////////////////////////////////////////////////////////////////////////////
			}
			else if (current_month == 5){
			//May////////////////////////////////////////////////////////////////////////////////////////
				if ((screen.width>=1024) && (screen.height>=768)){
					document.write("<td colspan='2' align='center' bgcolor='#000000'><img src='PageLayoutImages/Banner1_1024.jpg' width='100%' height='130' alt='Stedmark Ltd: Specialist in Gas Burner Solutions' title='Stedmark Ltd: Specialist in Gas Burner Solutions'></td>");
					} 
					else{ 
					//use style sheet for 800x600 screen
					document.write("<td colspan='2' align='center' bgcolor='#ffffff'><img src='PageLayoutImages/Banner1_1024.jpg' width='769' height='80' alt='Stedmark Ltd: Specialist in Gas Burner Solutions' title='Stedmark Ltd: Specialist in Gas Burner Solutions'></td>");
				}
			//May////////////////////////////////////////////////////////////////////////////////////////
			}
			else if (current_month == 6){
			//June////////////////////////////////////////////////////////////////////////////////////////
				if ((screen.width>=1024) && (screen.height>=768)){
					document.write("<td colspan='2' align='center' bgcolor='#000000'><img src='PageLayoutImages/Banner1_1024.jpg' width='100%' height='130' alt='Stedmark Ltd: Specialist in Gas Burner Solutions' title='Stedmark Ltd: Specialist in Gas Burner Solutions'></td>");
					} 
					else{ 
					//use style sheet for 800x600 screen
					document.write("<td colspan='2' align='center' bgcolor='#ffffff'><img src='PageLayoutImages/Banner1_1024.jpg' width='769' height='80' alt='Stedmark Ltd: Specialist in Gas Burner Solutions' title='Stedmark Ltd: Specialist in Gas Burner Solutions'></td>");
				}
			//June////////////////////////////////////////////////////////////////////////////////////////
			}
			else if (current_month == 7){
			//July////////////////////////////////////////////////////////////////////////////////////////
				if ((screen.width>=1024) && (screen.height>=768)){
					document.write("<td colspan='2' align='center' bgcolor='#000000'><img src='PageLayoutImages/Banner1_1024.jpg' width='100%' height='130' alt='Stedmark Ltd: Specialist in Gas Burner Solutions' title='Stedmark Ltd: Specialist in Gas Burner Solutions'></td>");
					} 
					else{ 
					//use style sheet for 800x600 screen
					document.write("<td colspan='2' align='center' bgcolor='#ffffff'><img src='PageLayoutImages/Banner1_1024.jpg' width='769' height='80' alt='Stedmark Ltd: Specialist in Gas Burner Solutions' title='Stedmark Ltd: Specialist in Gas Burner Solutions'></td>");
				}
			//July////////////////////////////////////////////////////////////////////////////////////////
			}
			else if (current_month == 8){
			//August////////////////////////////////////////////////////////////////////////////////////////
				
			//August////////////////////////////////////////////////////////////////////////////////////////
			}
			else if (current_month == 9){
			//September/////////////////////////////////////////////////////////////////////////////////////
				if ((screen.width>=1024) && (screen.height>=768)){
					document.write("<td colspan='2' align='center' bgcolor='#000000'><img src='PageLayoutImages/Banner1_1024.jpg' width='100%' height='130' alt='Stedmark Ltd: Specialist in Gas Burner Solutions' title='Stedmark Ltd: Specialist in Gas Burner Solutions'></td>");
					} 
					else{ 
					//use style sheet for 800x600 screen
					document.write("<td colspan='2' align='center' bgcolor='#ffffff'><img src='PageLayoutImages/Banner1_1024.jpg' width='769' height='80' alt='Stedmark Ltd: Specialist in Gas Burner Solutions' title='Stedmark Ltd: Specialist in Gas Burner Solutions'></td>");
				}
			//September/////////////////////////////////////////////////////////////////////////////////////
			}
			else if (current_month == 10){
			//October///////////////////////////////////////////////////////////////////////////////////////
				if ((screen.width>=1024) && (screen.height>=768)){
					document.write("<td colspan='2' align='center' bgcolor='#000000'><img src='PageLayoutImages/Banner1_1024.jpg' width='100%' height='130' alt='Stedmark Ltd: Specialist in Gas Burner Solutions' title='Stedmark Ltd: Specialist in Gas Burner Solutions'></td>");
					} 
					else{ 
					//use style sheet for 800x600 screen
					document.write("<td colspan='2' align='center' bgcolor='#ffffff'><img src='PageLayoutImages/Banner1_1024.jpg' width='769' height='80' alt='Stedmark Ltd: Specialist in Gas Burner Solutions' title='Stedmark Ltd: Specialist in Gas Burner Solutions'></td>");
				}
			//October///////////////////////////////////////////////////////////////////////////////////////
			}
			else if (current_month == 11){
			//November///////////////////////////////////////////////////////////////////////////////////////
				if ((screen.width>=1024) && (screen.height>=768)){
					document.write("<td colspan='2' align='center' bgcolor='#000000'><img src='PageLayoutImages/Banner1_1024.jpg' width='100%' height='130' alt='Stedmark Ltd: Specialist in Gas Burner Solutions' title='Stedmark Ltd: Specialist in Gas Burner Solutions'></td>");
					} 
					else{ 
					//use style sheet for 800x600 screen
					document.write("<td colspan='2' align='center' bgcolor='#ffffff'><img src='PageLayoutImages/Banner1_1024.jpg' width='769' height='80' alt='Stedmark Ltd: Specialist in Gas Burner Solutions' title='Stedmark Ltd: Specialist in Gas Burner Solutions'></td>");
				}
			//November///////////////////////////////////////////////////////////////////////////////////////
			}
			else if (current_month == 12){
			//December///////////////////////////////////////////////////////////////////////////////////////
				if ((screen.width>=1024) && (screen.height>=768)){
					document.write("<td colspan='2' align='center' bgcolor='#000000'><img src='PageLayoutImages/Banner1_1024.jpg' width='100%' height='130' alt='Stedmark Ltd: Specialist in Gas Burner Solutions' title='Stedmark Ltd: Specialist in Gas Burner Solutions'></td>");
					} 
					else{ 
					//use style sheet for 800x600 screen
					document.write("<td colspan='2' align='center' bgcolor='#ffffff'><img src='PageLayoutImages/Banner1_1024.jpg' width='769' height='80' alt='Stedmark Ltd: Specialist in Gas Burner Solutions' title='Stedmark Ltd: Specialist in Gas Burner Solutions'></td>");
				}
			//December///////////////////////////////////////////////////////////////////////////////////////
			}


		  document.write("</tr>");
		  document.write("<tr>");
			document.write("<td colspan='2' align='left'><img src='PageLayoutImages/BlueWhiteBottomLine.gif' width='100%' height='9'></td>");
		  document.write("</tr>");
		document.write("</table>");
		
		//-->





