
<!-- Begin

function emaillink(user,text) {

 site = "forumhub.mayyam.com";
 address = "";

 if(user.indexOf(" ") >= 0)
 {
  address = (user.split(" ")).join("@");
 }
 else
 {
  address = user + '@' + site;
 }
 document.write('<a href=mail'+'to:' + address + '>');
 if(text.length > 0) {
  document.write(text);
 }
 else
 {
  document.write(address);
 }
 document.write('</a>');

}

// End -->

<!-- Begin Select box Jump 

function openDir( form ) { 

	var newIndex = form.fieldname.selectedIndex; 

	if ( newIndex == 0 ) { 

		alert( "Please select an option!" ); 

	} else { 

		cururl = form.fieldname.options[ newIndex ].value; 

		window.location.assign( cururl ); 

	} 

} 

// ---- End -->

