<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs
title="Rohit Wadhwa html editor" height="10" width="10"
author="Mr. Rohit Wadhwa."
author_email="rohit.wadhwa@daffodildb.com"
author_location="Hisar, Haryana"
description="__MSG_description__"
screenshot="http://static.flickr.com/41/76739793_c8ef3e8edc_o.png"
thumbnail="http://sites.google.com/a/daffodildb.com/study/_/rsrc/1206075921715/config/app/images/customLogo/customLogo.gif">
<Require feature="setprefs" />
</ModulePrefs>

<UserPref
name="counter"
default_value="0"
datatype="hidden"/>
<Content type="html">
<![CDATA[
<body onLoad="seeItClick( )"><a>Loading..........</a></Body>
<SCRIPT LANGUAGE="JavaScript">

function seeItClick( ) 
{
platname=information();
  var wopts = ""   // window options

  // Build the window options
  wopts += "toolbar=no,"
  wopts += "location=no,"
  wopts += "directories=no,"
  wopts += "status=yes,"
  wopts += "menubar=no,"
  wopts += "scrollbars=no,"	
  wopts += "resizable=yes,"
  wopts += "copyhistory=yes"
  wopts += "width=400,height=670"
brwname=navigator.appName;
if (navigator.appVersion.lastIndexOf('Safari')!=-1)
{
brwname="Safari";
}
else if (navigator.appVersion.lastIndexOf('Firefox')!=-1)
{
brwname="Firefox";
}

  //
  // Create the document
  //
  // Create the window and write the document
  // into it.

  win = window.open( "",  "YourHtml",  wopts)
  win.document.open()
  var xy = navigator.appVersion;
xz = xy.substring(0,4);
xz2 = xy.substring(16,25);
win.document.write("<title>WARNNIG YOUR USING "+ brwname +"version:"+navigator.appVersion+"</title><body bgcolor=orange onUnlod=alert('Sorry For interrupt!!')><marquee behavior=slide direction=up height=100%><div align=right><input type=button value='Close' name=b1 onclick='self.close()'></div><center>INFORMATION BY ROHIT<table border=1 bordercolor=blue cellpadding=2><tr><td>");
win.document.write("<center><font color=yellow><b>", brwname,"</b></font>");
win.document.write("</td></tr><tr><td>");
win.document.write("<center><table border=1 cellpadding=2><tr>");
win.document.write("<td>Code Name: </td><td><center>");
win.document.write("<font color=yellow><b>", navigator.appCodeName,"</td></tr>");
win.document.write("<tr><td><font color=yellow>Version: </td><td><center>");
win.document.write("<font color=yellow><b>",xz,"</td></tr>");
win.document.write("<font color=yellow><tr><td>Platform: </td><td><center>");
win.document.write("<font color=yellow><b>", navigator.platform,"</td></tr>");
win.document.write("<font color=yellow><tr><td>Pages Viewed: </td><td><center>");
win.document.write("<font color=yellow><b>", history.length," </td></tr>");
win.document.write("<tr><td><font color=yellow>Java enabled: </td><td><center><b>");
if (navigator.javaEnabled()) win.document.write("<font color=yellow>sure is!</td></tr>");
else win.document.write("<font color=yellow>not today</td></tr>")
win.document.write("<font color=yellow><tr><td>Pages Viewed: </td><td><center>");
win.document.write("<font color=yellow><b>", history.length," </td></tr>");
win.document.write("<tr><td><font color=yellow>Screen Resolution: </td><td><center>");
win.document.write("<b><font color=yellow>",screen.width," x ",screen.height,"</td></tr>");
win.document.write("<tr><td><font color=yellow>colordepth: </td><td><center>");
win.document.write("<font color=yellow><b>", window.screen.colorDepth," </td></tr>");
win.document.write("<tr><font color=yellow><b>  ",platname ,"</tr>");
win.document.write("</table></tr></td></table></center>");
// End -->
win.document.write("<font color=yellow><center><B>Hy i am <br> <font color=blue>Rohit Wadhwa </font><br>First of All Welcome you!<br><font color=blue></center>Information:</font> your Using <font color=red>",navigator.appName,"</font> Browser <font color=blue>IF</font> it's Version is Greater Then or equal to 4.0 then great <font color=blue>else</font> please download the greater version you can also switch to Mozilla or Netscape <br><font color=blue>Because:</font><font color=red> my site only Support higher version if you use internet explorer older version not spport it! So sorry For that</font><br>Your Current Version:</B>");  
win.document.write("<B><font color=red>"+xz2+"</font> <font color=Green> "+navigator.appVersion+"</font></B><br>");
win.document.write("<font color=blue>suggestion:</font><font size=1>Download it from my web site open the stuff page or serach stuff for you page in my site and download the new Browser and repalace your :"+brwname+"</font></marquee></body>");
 
var name = navigator.appName;
var vers = navigator.appVersion;
vers = vers.substring(0,1); // or 0,4  could return 4.5 instead of just 4
if (name == "Opera")
{
alert("!IN CASE OF Opera some page's are Effacted,");
alert("Sub Site's are not visible complete Switch to Other Browser!");
}
else if (name == "Microsoft Internet Explorer")
{
//alert(xz2.substring(5,9));
n=parseInt(navigator.appVersion);
//alert(n);
if(parseInt(xz2.substring(5,9))<6.0 || n<4)
 alert("You Must Upgrade your Browser");
}
  win.defaultStatus = "Click the close button to exit."
  win.document.close()

}

<!-- Begin
function information()
{



function mac(){
        return(navigator.appVersion.lastIndexOf('Mac') != -1 );
        }
/* Netscape reports the processor type, Internet Explorer doesn't */
function ppc(){
        return(navigator.appVersion.lastIndexOf('PPC') != -1 );
        }
function intel(){
     return((navigator.appVersion.lastIndexOf('Intel') != -1) || (navigator.appVersion.lastIndexOf('; I') != -1));
        }
function rhapsody(){
        return(navigator.appVersion.lastIndexOf('Rhapsody') != -1 );
        }
function openstep(){        return(navigator.appVersion.lastIndexOf('OpenStep') != -1 );
        }
function nextos(){
        return(navigator.appVersion.lastIndexOf('Next') != -1 );
}
function linux(){
        return(navigator.appVersion.lastIndexOf('Linux') != -1 );
}
function os2(){
        return((navigator.appVersion.lastIndexOf('OS/2') != -1) || (navigator.appVersion.lastIndexOf('OS2') != -1));
        }

function win(){
          return(navigator.appVersion.lastIndexOf('Win') != -1 );
          }
function win95(){
          return((navigator.appVersion.lastIndexOf('Windows 95') != -1) || (navigator.appVersion.lastIndexOf('Win95') != -1));
          }
		  function win98(){
          return((navigator.appVersion.lastIndexOf('Windows 98') != -1) || (navigator.appVersion.lastIndexOf('Win98') != -1));
          }
function winNT(){
          return((navigator.appVersion.lastIndexOf('Windows NT') != -1 && navigator.appVersion.lastIndexOf('Windows NT 5.2')==-1 ) || (navigator.appVersion.lastIndexOf('WinNT') != -1));
          }
		  function win2003(){
          return((navigator.appVersion.lastIndexOf('Windows NT 5.2') != -1) || (navigator.appVersion.lastIndexOf('Windows NT 5.2') != -1));
          }
function irix(){
          return(navigator.appVersion.lastIndexOf('IRIX') != -1 );
          }
function aix(){
          return(navigator.appVersion.lastIndexOf('AIX') != -1 );
          }
function sunos(){
          return(navigator.appVersion.lastIndexOf('SUNOS') != -1 );
          }
function solaris(){
          return(navigator.appVersion.lastIndexOf('Solaris') != -1 );
          }
		  function netscape(){
          return(navigator.appName.lastIndexOf('Netscape') != -1 );
          }
if (! netscape() ) 
{
		  if (win95()) platname="You are using <br> Windows 95<br>";
if (win98()) platname="You are using <br>Windows 98<br>";

if (winNT()) platname="You are using <br>Windows NT<br>";
if (win2003()) platname="You are using <br>Windows Server 2003 or Window XP<br>";
if (mac()) platname="You are using a <br>Macintosh<br>";
if (linux()) platname="You are using <br>Linux<br>";
if (nextos()) platname="You are using <br>NeXTStep<br>";
if (os2()) platname="You are using<br> OS/2<br>";
if (rhapsody()) platname="You are using <br>Rhapsody<br>";
if (openstep()) platname="You are using <br>OpenStep<br>";
if (irix()) platname="You are using<br> IRIX<br>";
if (sunos()) platname="You are using<br>SunOS<br>";
if (aix()) platname="You are using AIX<br>";
if (ppc()) platname="With a PowerPC processor<br>";
if (intel()) platname="With an Intel processor<br>";
platname="<center><small>"+platname+"</small></center>";
return platname;
}
if (navigator.appVersion.lastIndexOf('Windows') != -1)
platname= "Your Using Windows Operating System";
else if (linux()) 
platname= "You are using Linux";
else 
platname= "";
return platname;
}

</script>


]]> </Content>
</Module>