function createWindow(cUrl,cName,cFeatures) {
var xWin = window.open(cUrl,cName,cFeatures)
}

if (parseInt(navigator.appVersion) <= 3) { var srcStr = "index.html" }
else { var srcStr = "about:blank" }
function frameWriter() {
	if 	(navigator.appName == 'Netscape' && 
			parseFloat(navigator.appVersion) >= 6 && (!window.opera)) {
	    location.href = 'index.html' 
	} 
	else if (navigator.userAgent.indexOf("pera") != -1) { 
		location.replace("http://www.mrexterminator.com/index.html"); 
	}
	else {
	document.write('<FRAMESET rows="65,*" frameborder="no" border="0" framespacing="0" cols="*">');
	document.write(' <FRAME NAME="topFrame" SCROLLING="no" noresize SRC="top.html">');
        document.write('<FRAMESET cols="160,*" frameborder="no" border="0" framespacing="0"');
        document.write(' onLoad="FrameMe();">');
	document.write(' <FRAME NAME="leftFrame" noresize SRC="left.html" SCROLLING="no">');
	document.write(' <FRAME NAME="mainFrame" SRC="'+ srcStr +'">');
	document.write('</FRAMESET>');
	document.write('</FRAMESET>');
	document.write('</HTML>');
	}
}
function FrameMe() {
    if (document.images) {top.mainFrame.location.replace(self.location.href);}
    else {top.mainFrame.location.href = self.location.href;}
}
if (!(document.layers && (self.innerWidth == 0))) {
    if (top.frames.length != 3) {
        frameWriter()
    }
}






