//function changeImage(string) {
// 	  var srcElement;
//  	  srcElement = window.event.srcElement;
// 	  srcElement.src = string;
//         }

function openNew(string) {
	   	  
	  winId = window.open('','newwin','width=720,height=520,scrollbars=yes,resizable=yes');
	  winId.document.write("<HEAD><TITLE>Red Hot Ops</TITLE></HEAD>");
	  winId.document.write('<body bgcolor="#91040A" bgcolor=#D9D9D9 onLoad="if (window.focus) window.focus()"><center>');
	  winId.document.write('<img src="' + string + '"><br><br>');
	  winId.document.write('<span><font face=Arial size=2 color=#919191><b></b></font></span>');
	  winId.document.write('</center></body>');
  	  winId.document.close();
}
         

function detectVersion()
{
version = parseInt(navigator.appVersion);
return version;
}

function detectOS()
{
if(navigator.userAgent.indexOf('Win') == -1) {
OS = 'Macintosh';
} else {
OS = 'Windows';
}
return OS;
}

function detectBrowser()
{
if(navigator.appName.indexOf('Netscape') == -1) {
browser = 'IE';
} else {
browser = 'Netscape';
}
return browser;
}

function FullScreen(){

var adjWidth;
var adjHeight;

if((detectOS() == 'Macintosh') && (detectBrowser() == 'Netscape')) {
adjWidth = 20;
adjHeight = 35;
}
if((detectOS() == 'Macintosh') && (detectBrowser() == 'IE')) {
adjWidth = 20;
adjHeight = 35;
winOptions = 'fullscreen=yes';
}
if((detectOS() == 'Windows') && (detectBrowser() == 'Netscape')) {
adjWidth = 30;
adjHeight = 30;
}
if(detectVersion() < 4) {
self.location.href = 'oldbrowser.html';
} else {
var winWidth = screen.availWidth - adjWidth;
var winHeight = screen.availHeight - adjHeight;
var winSize = 'width=' + winWidth + ',height=' + winHeight;
var thewindow = window.open('TLC/main.htm', '', winSize);
thewindow.moveTo(0,0);
}
}

function MakeItSo(){
if((detectOS() == 'Windows') && (detectBrowser() == 'IE')) {
window.open('TLC/main.htm','','fullscreen=yes');
} else {
onload=FullScreen();
}
}  
     





