

function checkFrame()
{
	var NUMOFFRAMES = 3;  
	if(parent.frames.length!=NUMOFFRAMES)
	{
		if (navigator.userAgent.indexOf('MSIE 3') == -1)
		{
			var newWin = null;
			newWin=window.open();
		}
		else
		{
			var newWin = null;
			newWin = window.open();
			if (newWin != null)
			{
				if (newWin.opener == null)
				{
					newWin.opener = self;
				} 
			}
		}
	
		newWin.document.clear();

	  
		newWin.document.writeln("<html><head>"); 			 //start writing out the HTML
		newWin.document.writeln('<title>www.delhigate.com</title>');
		newWin.document.writeln('</head>');
		newWin.document.writeln('<FRAMESET FRAMESPACING=0 BORDER=0 FRAMEBORDER=NO MARGINWIDTH=0 MARGINHEIGHT=0 COLS="170,*" onLoad="startclock()">');  //create your frameset
		newWin.document.writeln('<FRAME SRC="http://www.delhigate.com/nav.htm" NAME="frame3">');
		newWin.document.writeln('<FRAMESET BORDER=0 ROWS="95,*">');
		newWin.document.writeln('<FRAME BORDER=0 SRC="http://www.delhigate.com/caption.htm" NAME="frame1" SCROLLING=NO NO RESIZE >'); 
		newWin.document.writeln('<frame name="frame4" src=');
		newWin.document.writeln(document.location);         // and this file
		newWin.document.writeln('>');
		newWin.document.writeln('</frameset>');
		newWin.document.writeln('<NOFRAMES>');
		newWin.document.writeln('<BLOCKQUOTE><BLOCKQUOTE><BLOCKQUOTE><BLOCKQUOTE><P><BR><P><BR>');
		newWin.document.writeln('<FONT SIZE="2" FACE="Verdana, Arial, Helvetica">');
		newWin.document.writeln('Your Browser does not seem to support frames. delhigate.com is completely frame based to ');				
		newWin.document.writeln('enable you to navigate better through it. We suggest that you download the latest version ');			
		newWin.document.writeln('of <A HREF="http://www.netscape.com">Netscape Navigator</A> and come back to our site.');
		newWin.document.writeln('<P>For your information delhigate.com provides:<UL>');
		newWin.document.writeln('<LI>The only online travel based query system for New Delhi, India. You can send us your quey and we  guarantee to respond within 24 business hours (unless of course you catch us when there is a technical  problem).');				
		newWin.document.writeln('<LI>The latest and the most authentic information about New Delhi and India.');
		newWin.document.writeln('<LI>Information about hotels, restaurants, excursions, car rentals, airline schedules, railways, emergencies, hospitals, shopping etc.</UL></FONT>');
		newWin.document.writeln('</BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE>');
		newWin.document.writeln('</NOFRAMES></FRAMESET>');
		newWin.document.writeln('<html>') ;
//		self.close();										//close this window							
		newWin.focus();										//shift focus
		
	}
}			



