function initMail(form) {
if (form.emailto.value != "")
{
var showblock = document.getElementById('blockUI');
var showemail = document.getElementById('main');
			showblock.style.display = 'none';
			showemail.style.display = 'none';
			}
return (form.emailto.value != "");
}

function noemail(){
var showblock = document.getElementById('blockUI');
var showemail = document.getElementById('main');
var name = document.getElementById('urname');
var emailto = document.getElementById('emailto');
var msg = document.getElementById('message');

			name.value =  "";
			emailto.value =  "";
			msg.value  = "";	
			showblock.style.display = 'none';
			showemail.style.display = 'none';
}

function yesemail(){

var showblock = document.getElementById('blockUI');
var showemail = document.getElementById('main');
var winlocation = document.getElementById('wlocation');
var msg = document.getElementById('message');
var swidth = document.body.clientWidth;
var sheight = document.body.clientHeight;
			winlocation.value = window.location;
			msg.value = "This may interest you.";
			showblock.style.display = 'block';
			showblock.style.width = swidth;
			showblock.style.height = sheight;
			showemail.style.display = 'block';
			
}



//if (navigator.appName=="Microsoft Internet Explorer")


document.write('<img onclick="yesemail()" src="http://www.conference2004.jjay.cuny.edu/emailform/images/email.jpg" style="cursor:hand">');
document.write('<style type="text/css"><!--.style2 {	font-size: 24px;	color: #99999');
document.write('9;	font-family: Georgia, "Times New Roman", Times, serif;}--></styl');
document.write('e><div id="blockUI" style="filter:alpha(opacity=50); -moz-opacity:0.5');
document.write('; opacity:0.5; display: none; background-color: gray; width: 100; height: 100; ');
document.write(' position: absolute; left: 0px; top: 0px; z-index: 1" onclick="ret');
document.write('urn false" onmousedown="return false" onmousemove="return false"onmouseup');
document.write('="return false" ondblclick="return false"></div> <div id="main" style');
document.write('="position: absolute; left: 30%; top: 30%; z-index: 2; display: none"><');
document.write('form name=emailform method=post action="http://www.conference2004.jjay.cuny');
document.write('.edu/emailform/email.aspx" target="_blank" onSubmit="return initMail(this);');
document.write('" ><table width="380" bgcolor="#FFFFFF">  <tr>    <td ><img src="http://www.conference2004.jjay.cuny');
document.write('.edu/emailform/imag');
document.write('es/logo.jpg" width="380" height="94"></td>  </tr>  <tr>    <td class=');
document.write('"style2" align="center"  valign="center"><img src="http://www.conference2004.jjay.cuny.edu/emailform/images/spacerv.jpg"> Email this page to your friends!</td>  </tr>  <tr>    <td>');
document.write('	<table width="100%"> <tr>	  <td width="34%" align="right" style="font-size:12px"><strong>Your ');
document.write('name: </strong></td>	  <td width="66%" align="left"><input type="text" width="200" nam');
document.write('e="urname" id="urname" ></input></td>	</tr>	  <tr>	    <td align="right" style="font-size:12px"><strong>');
document.write('Email to: </strong></td>	    <td align="left"><input  type="text" width="200" align="left" name="em');
document.write('ailto" id="emailto"></input></td>	    </tr>	  	    <td align="right" style="font-size:12px"><strong>Messa');
document.write('ge:</strong></td>	    <td align="left"><textarea  cols="29" rows="5" name="message" id="message" ><');
document.write('/textarea>		<input type="hidden"  name="wlocation" id="wlocation"></input>		</td>	 ');
document.write('   </tr>	</table></td>  </tr>  <tr>    <td>	<table width="100%">');
document.write('	<tr><td align="center"><img src="http://www.conference2004.jjay.cuny');
document.write('.edu/emailform/images/cancel.jpg" onclick="noemail()" >');
document.write('	</td><td align="center"><input type="image" src="http://www.conference2004.jjay.cuny');
document.write('.edu/emailform/images/submit.jpg"  v');
document.write('alue="submit"  ></td></tr></table></td>  </tr>  </table>  </form>');
document.write('</div>');





