parseSelector.pseudoClasses = {
  'not': function(nodes, selector) {
    var result = [];
    each: for(var i = 0, node; i < nodes.length; i++) {
      node = nodes[i];
      var ignore = parseSelector(selector, node.parentNode);
      for(var j = 0; j < ignore.length; j++) {
        if(ignore[j] == node) continue each;
      }
      result.push(node);
    }
    return result;
  }
}

var arrialnarrow = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/arrial_narrow.swf'
		};
		
		var arialrounded = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/arial_rounded.swf'
		};
		
		var bellgothic = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/bell_gothic'
		};
		
		var corbel = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/corbel.swf'
		};
		
		var impact = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/impact.swf'
		};
		
		var myriadweb = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/myriad_web.swf'
		};
		
		var swiss721blkBT = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/swiss721blkBT.swf'
		};
		
		var swiss721HvBT = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/swiss721HvBT.swf'
		};
		
		var swiss921BT = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/swiss921BT.swf'
		};
		
		var vrinda = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/vrinda.swf'
		};
				
		var cooper = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/cooper.swf'
		};
		
		var calibri = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/calibri.swf'
		};
		
		var zurich = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/zurich.swf'
		};
		
		var tahoma = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/tahoma.swf'
		};
		
		var swiss721 = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/swiss721.swf'
		};
		
		var stencil = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/stencilBT.swf'
		};
		
	    var mssans = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/mssans.swf'
		};
		
		var gothic725blk = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/gothic725blk.swf'
		};
		
		var oregonLDO = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/oregonLDO.swf'
		};
				
		var franklingothicmediumcond = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/franklingothicmediumcond.swf'
		};
		
		var franklingothicmedium = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/franklingothicmedium.swf'
		};
		
		var franklingothicdemi = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/franklingothicdemi.swf'
		};
		
		var franklingothicbook = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/franklingothicbook.swf'
		};
		
		var erasmedium = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/erasmedium.swf'
		};
		
		var erasdemi = {
			src: 'http://www.amplimark.com/sIFR/sIFR436/erasdemi.swf'
		};
			
		sIFR.activate(arrialnarrow, arialrounded, bellgothic, corbel, impact, myriadweb, swiss721blkBT, swiss721HvBT, swiss921BT, vrinda, cooper, calibri, zurich, tahoma, swiss721, stencil, mssans, gothic725blk, oregonLDO, franklingothicmediumcond, franklingothicmedium, franklingothicdemi, franklingothicbook, erasmedium, erasdemi);
		
			
		sIFR.replace(franklingothicbook, { 
		selector: '#content_right h1' , wmode: 'transparent'
		,css:{
			'.sIFR-root': {'color':'#0987b6', 'font-size':'15px', 'line-height':'15px'},
			'a': {'color':'#0987b6', 'font-size':'15px', 'line-height':'15px', 'text-decoration':'none'}
		},
		tuneHeight: -4
	});
	
	
	sIFR.replace(franklingothicmediumcond, { 
	selector: '#small_main h1' , wmode: 'transparent',  forceSingleLine: 'true'
	,css:{
		'.sIFR-root': {'color':'#303030', 'font-size':'18px', 'line-height':'18px'},
		'a': {'color':'#303030', 'font-size':'18px', 'line-height':'18px', 'text-decoration':'none'}
	},
	tuneHeight: -4
   });
	
	
	sIFR.replace(franklingothicmediumcond, { 
	selector: '#home_main h1' , wmode: 'transparent',  forceSingleLine: 'true'
	,css:{
		'.sIFR-root': {'color':'#023264', 'font-size':'19px', 'line-height':'19px'},
		'a': {'color':'#023264', 'font-size':'18px', 'line-height':'18px', 'text-decoration':'none'}
	},
	tuneHeight: -4
   });
	
	
    	sIFR.replace(mssans, { 
	selector: '#small_main h2' , wmode: 'transparent',  forceSingleLine: 'true'
	,css:{
		'.sIFR-root': {'color':'#07699a', 'font-size':'15px', 'line-height':'15px'},
		'a': {'color':'#07699a', 'font-size':'15px', 'line-height':'15px', 'text-decoration':'none'}
	},
	tuneHeight: -4
   });
	
	
		sIFR.replace(mssans, { 
	selector: '#content_right h3' , wmode: 'transparent',  forceSingleLine: 'true'
	,css:{
		'.sIFR-root': {'color':'#D40000', 'font-size':'14px', 'line-height':'15px'},
		'a': {'color':'#D40000', 'font-size':'14px', 'line-height':'15px', 'text-decoration':'none'}
	},
	tuneHeight: -4
   });
	
	
	sIFR.replace(mssans, { 
	selector: '#small_main h3' , wmode: 'transparent',  forceSingleLine: 'true'
	,css:{
		'.sIFR-root': {'color':'#07699a', 'font-size':'15px', 'line-height':'15px'},
		'a': {'color':'#07699a', 'font-size':'15px', 'line-height':'15px', 'text-decoration':'none'}
	},
	tuneHeight: -4
   });
	
	sIFR.replace(franklingothicbook, { 
	selector: '#small_main h4' , wmode: 'transparent',  forceSingleLine: 'true'
	,css:{
		'.sIFR-root': {'color':'#07699a', 'font-size':'15px', 'line-height':'15px'},
		'a': {'color':'#07699a', 'font-size':'15px', 'line-height':'15px', 'text-decoration':'none'}
	},
	tuneHeight: -4
   });	

	sIFR.replace(franklingothicmedium, { 
	selector: '#small_main h5' , wmode: 'transparent',  forceSingleLine: 'true'
	,css:{
		'.sIFR-root': {'color':'#07699a', 'font-size':'15px', 'line-height':'15px'},
		'a': {'color':'#07699a', 'font-size':'15px', 'line-height':'15px', 'text-decoration':'none'}
	},
	tuneHeight: -4
   });	

  
  sIFR.replace(franklingothicdemi,{
		selector:'#rs-menu-wrap h3',
		wmode:'transparent', forceSingleLine: 'true',
		css:['.sIFR-root { color: #000000; }',
		'.sIFR-root a { color: #000000; text-decoration: none; font-size:15px; }',
		'.sIFR-root a:hover { color: #ffffff; text-decoration: underline; }',
		'.sIFR-root a:visited { color: #ffffff; text-decoration: none; }']
		});
	
	
   sIFR.replace(myriadweb, { 
		selector: '#home_main h2' , wmode: 'transparent'
		,css:{
			'.sIFR-root': {'color':'#990000', 'font-size':'16px', 'line-height':'16px'},
			'a': {'color':'#990000', 'font-size':'16px', 'line-height':'16px', 'text-decoration':'none'}
		},
		tuneHeight: -4
	});
	
	sIFR.replace(impact, { 
		selector: '#phone h2' , wmode: 'transparent'
		,css:{
			'.sIFR-root': {'color':'#333333', 'font-size':'16px', 'line-height':'16px'},
			'a': {'color':'#333333', 'font-size':'16px', 'line-height':'16px', 'text-decoration':'none'}
		},
		tuneHeight: -4
	});
	
	
	sIFR.replace(franklingothicmediumcond, { 
		selector: '#content_right h4' , wmode: 'transparent'
		,css:{
			'.sIFR-root': {'color':'#3e3e3e', 'font-size':'16px', 'line-height':'16px'},
			'a': {'color':'#3e3e3e', 'font-size':'16px', 'line-height':'16px', 'text-decoration':'none'}
		},
		tuneHeight: -4
	});
	
	sIFR.replace(swiss721, { 
		selector: '#content_right h6' , wmode: 'transparent'
		,css:{
			'.sIFR-root': {'color':'#000000', 'font-size':'12px', 'line-height':'12px','text-decoration':'underline'},
			'a': {'color':'#000000', 'font-size':'12px', 'line-height':'12px', 'text-decoration':'none'}
		},
		tuneHeight: -4
	});
	

	sIFR.replace(myriadweb, { 
		selector: '.head' , wmode: 'transparent'
		,css:{
			'.sIFR-root': {'color':'#ffffff', 'font-size':'11px'}
		}
	});
	
	sIFR.replace(myriadweb, { 
		selector: '.whyAmplimark' , wmode: 'transparent'
		,css:{
			'.sIFR-root': {'color':'#000000', 'text-align':'center', 'font-size':'12px'}
		}
	});
	
		sIFR.replace(franklingothicmediumcond, { 
	selector: '.ind h1' , wmode: 'transparent',  forceSingleLine: 'true'
	,css:{
		'.sIFR-root': {'color':'#023264', 'font-size':'19px', 'text-align':'center'},
		'a': {'color':'#023264', 'font-size':'19px', 'line-height':'16px', 'text-decoration':'none'}
	},
	tuneHeight: -4
   });
	
	
	
	
startList = function()
{
	if (document.all&&document.getElementById)
	{
		navRoot = document.getElementById("topnav-list-container");
		for (i=0; i<navRoot.childNodes.length; i++)
		{
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI" || node.nodeName=="UL")
			{
				node.onmouseover=function()
				{
					this.className+=" over";
					this.className+=" " + this.id + "_over";
				}
				node.onmouseout=function()
				{
					this.className=this.className.replace(" over", "");
					this.className=this.className.replace(" " + this.id + "_over", "");
				}
			}
		}
	}
}
window.onload=startList;
