﻿///////////////////// DSCRIPTS PRESENTS /////////////////////////////////////
//                                                                         //    
//   This script has been downloaded from http://dscripts.awardspace.com   //
//  ---------------------------------------------------------------------  //
//                                                                         //
//  Script Name: Javascript Include                                        //
//  Written on: 5 January 2007                                             //        
//  Written by: Burhan Uddin                                               //        
//                                                                         //      
//  Browse: http://dscripts.awardspace.com for more free scripts.          //
//                                                                         //
/////////////////////////////////////////////////////////////////////////////


// Script Begins from here ==================================//


// Declaring header footer and navigation as array variable

var header      = new Array();  // Header
var navigation  = new Array();  // Navigation
var footer      = new Array();  // Footer



// Put you html codes of header, footer and navigation separately in the three part of code block below.
// Put each line of html codes in each line inside the two single qute block ('[code]')
// You can put as many lines of html code as you wish. just increase the array number for each line line h[0], h[2] ......h[100],... h[1000]...
// Add this javascript inside header tag of your page i.e between <head> and </head>
// Don't forget to add the second script in all of your html pages where you need to header footer or navigation.
// Using this script you can put any repetable part of code inside this js file which will allow you to put and edit the same code of multiple pages easily.
// *** Important: Don't forget to add backslash ( \ ) everywhere you have a single quote inside your html codes. If you don't do it. This script wouldn't work.



////////////////////////////// Edit Below //////////////////////////////


// ==================== Header ==================== //
header[0]       = '<div id="menu"><a href="../ionx_solutions/solutions.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'menu1\',\'\',\'../images/menu1_roll.png\',1)"><img src="../images/menu1.png" alt="Solutions" name="menu1" width="98" height="18" border="0" id="menu1" /></a><a href="../resource_center/resource_center.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'menu2\',\'\',\'../images/menu2_roll.png\',1)"><img src="../images/menu2.png" alt="Resource Center" name="menu2" width="97" height="18" border="0" id="menu2" /></a><a href="../news_room/news_room.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'menu3\',\'\',\'../images/menu3_roll.png\',1)"><img src="../images/menu3.png" name="menu3" width="97" height="18" border="0" id="menu3" /></a><a href="../about_us/about_us.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'menu4\',\'\',\'../images/menu4_roll.png\',1)"><img src="../images/menu4.png" alt="About Us" name="menu4" width="96" height="18" border="0" id="menu4" /></a><a href="../contact_us/contact_us.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'menu5\',\'\',\'../images/menu5_roll.png\',1)"><img src="../images/menu5.png" alt="Contact Us" name="menu5" width="101" height="18" border="0" id="menu5" /></a></div>';
header[1]       = '  	<a href="../index.html"><img src="../images/logo.png" alt="Logo" width="232" height="65" border="0" /></a></div>';


// ==================== Navigation ==================== //

navigation[0]   = '<table cellpadding="0" cellspacing="10" width="150" bgcolor="#99CCFF">';
navigation[1]   = '<tr><td height="242" align="left" valign="top">';
navigation[2]   = '<b><font face="Verdana" size="2" color="#808080"><a href="http://dscripts.awardspace.com/scripts.php?type=flash">Flash Scripts</a></font></b>';
navigation[3]   = '<p><b><font face="Verdana" size="2" color="#808080"><a href="http://dscripts.awardspace.com/scripts.php?type=php">PHP Scripts</a></font></b></p>';
navigation[4]   = '<p><b><font face="Verdana" size="2" color="#808080"><a href="http://dscripts.awardspace.com/scripts.php?type=js">Java Scripts</a></font></b></td>';
navigation[5]   = '</tr></table>';

// ==================== Footer ==================== //

footer[0]    = '<div id="footer">';
footer[1]    = '<a href="http://www.ionxlive.com/ionx_rail_solutions/rail_solutions.html">IONX Rail Solutions</a> | <a href="http://www.ionxlive.com/ionx_advantage/advantage.html">IONX Advantage</a> |<a href="http://www.ionxlive.com/ionx_technology/technology.html"> IONX Technology</a> | <a href="http://www.ionxlive.com/ionx_solutions/solutions.html">Solutions</a> | <a href="http://www.ionxlive.com/resource_center/resource_center.html">Resource Center</a> | <a href="http://www.ionxlive.com/ask_the_experts/ask_the_experts.html">Ask the Experts</a> | <a href="http://www.ionxlive.com/about_us/about_us.html">About Us</a> | <a href="http://www.ionxlive.com/news_room/news_room.html">News Room</a> | <a href="http://www.ionxlive.com/contact_us/contact_us.html">Contact Us</a><br />';
footer[2]    = 'All contents © copyright 2009 IONX LLC, an <a href="http://www.amstedrail.com">Amsted Corporation</a>.';
footer[3]    = '</div>';


/////////////////////////////////// DO NOT EDIT BELOW ///////////////////////////


function show(i)
 {
  for (x in i)
  {
   document.write(i[x]+'\n')
  }
 }