<script language="JavaScript">
<!-- vor alten Browsern verstecken copyright Arnold Schiller http://homepages.muenchen.org/bm596269
function msgopen() {
  fenster = open("", "Welcome", "scrollbar=yes,width=400,height=200");
  fenster.document.open();
 with (fenster.document) {
    	write("<html><base target='Frame 0'><body onBlur='window.close()'>");//Frame0 is name of the display change it, if 														//necessary
    	write("Hi There! <BR>");
    	write(" Here's a quick way to get another window up here.<BR>");
           write("<A HREF='http://www.htmlgoodies.com/javagoodies'>http://www.htmlgoodies.com/javagoodies</A><BR>");
           write("<P>Close the window to grab the script.<BR>");
	write("</body></html>");
	}
  	fenster.document.close();
} 
// -->
</script>
 
<a href="" onMouseover="msgopen()">Open the message window on Mouseover</a><script>
function winopen(){
  window.open("LINK LOCATION", "WINDOW NAME", "toolbar=yes,location=yes,directories=no,status=no, menubar=yes,scrollbars=yes,resizable=no,copyhistory=yes,width=200,height=260")
}
</script><body onLoad="winopen()"> 
  
 <script>
function winopen(){
        win = window.open("YOUR PAGE NAME", "newWin", "toolbar=yes,location=yes,directories=no,status=no, menubar=yes,scrollbars=yes,resizable=no,copyhistory=yes,width=400,height=260")
        startTime()
}
function startTime(){
        var time= new Date();
        hours= time.getHours();
        mins= time.getMinutes();
        secs= time.getSeconds();
        closeTime=hours*3600+mins*60+secs;
        closeTime+=3; // Amount of time that the window stays open in seconds
        Timer();
}
function Timer(){
        var time= new Date();
        hours= time.getHours();
        mins= time.getMinutes();
        secs= time.getSeconds();
        curTime=hours*3600+mins*60+secs
        if (curTime>=closeTime){
                if (win.closed == false){
                        win.close()}}
        else{
                window.setTimeout("Timer()",1000)}
}
</script>onLoad="winopen()" 
 <script>
function winopen(){
        win = window.open("YOUR PAGE NAME", "newWin", "toolbar=yes,location=yes,directories=no,status=no, menubar=yes,scrollbars=yes,resizable=no,copyhistory=yes,width=400,height=260")
        startTime()
}
function startTime(){
        var time= new Date();
        hours= time.getHours();
        mins= time.getMinutes();
        secs= time.getSeconds();
        closeTime=hours*3600+mins*60+secs;
        closeTime+=3; // Amount of time that the window stays open in seconds
        Timer();
}
function Timer(){
        var time= new Date();
        hours= time.getHours();
        mins= time.getMinutes();
        secs= time.getSeconds();
        curTime=hours*3600+mins*60+secs
        if (curTime>=closeTime){
                if (win.closed == false){
                        win.close()}}
        else{
                window.setTimeout("Timer()",1000)}
}
</script><form><input type=button value="YOUR BUTTON DESCRIPTION" onClick="winopen();"></form> مدل مورد نظرتو بگو برات بزارم
  مدل مورد نظرتو بگو برات بزارم   
  
 









