/*									    \\\ /// 
										( @ @ ) 
/*===============================....o00o.(_).o00o...===============================*\
|| ################################################################################ ||
|| # 	       فكرة تقنية لتصميم وتطوير المواقع والاسكربتات الخاصة	 	          # ||
|| # --------------- هذا البرنامج من برمجة مبرمجي فكرة تقنية  ------------------  # ||
|| #    هذا الكود غير مسموح لك بالتعديل او التطوير علية الا بعد الموافقة على ذلك   # ||
|| #       من خلال فكرة تقنية ويمنع منعا باتا ازالة الحقوق البرمجية منة والا        # ||
|| #        ففكرة تقنية غير مسئولة عن الاضرار التى ستنتج عن ذلك مستقبلا 	          # ||
|| #		          جميع الحقوق محفوظة لفكرة تقنية 2009-2010                    # ||
|| # -------------  هذا البرنامج ليس مجاني | للاتصال بالدعم الفني ---------------- # ||
|| # 			      http://www.ti4it.com  | support@ti4it.com 		          # ||
|| ################################################################################ ||
\*==================================================================================*/
/*==================================================================================*\
|| ################################################################################ ||
|| # 			   Tecno Idea For Disigning & Developing WebSites		          # ||
|| # ------------------ Programming by  Tecno Idea Developers ------------------- # ||
|| #      This code is not Allowed you amendment or Development only after the    # ||
|| #	  approval from Tecno Idea and strictly prohibited the removal of         # ||
|| #      the rights to programming either Tecno Idea is not responsible          # ||
|| #	  for any damages will happen in the future                               # ||
|| #             All Copy rights Reserved To Tecno Idea 2009-2010                 # ||
|| # ---------- THIS IS NOT FREE SOFTWARE  | To Contact Support ----------------- # ||
|| # 		   http://www.it-idea.net | astm_desig@hotmail.com 			          # ||
|| ################################################################################ ||
\*==================================================================================*/
<!--------------------------->
 message =" "
  scrollSpeed = 25
  lineDelay   = 0
  txt         = ""
  function scrollText(pos) {
    if (message.charAt(pos) != '^') {
      txt    = txt + message.charAt(pos)
      status = txt
      pauze  = scrollSpeed
    }
    else {
      pauze = lineDelay
      txt   = ""
      if (pos == message.length-1) pos = -1
    }
    pos++
    setTimeout("scrollText('"+pos+"')",pauze)
  }
scrollText(0)
<!--------------------------->
var message="";
function clickIE(){if(document.all){(message);return false;}}
function clickNS(e){if(document.layers||(document.getElementById&&!document.all)){
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
<!--------------------------->
function astmHotels(){
if (document.formhotels.city.value==""){
alert("Please select the city")
document.formhotels.city.focus()
return false
}
if (document.formhotels.stars.value==""){
alert("Please select the hotel stars")
document.formhotels.stars.focus()
return false
}
if (document.formhotels.city.value=="other" && document.formhotels.other.value==""){
alert("Please type the city")
document.formhotels.other.focus()
return false
}
if (document.formhotels.room.value==""){
alert("Please select the room kind")
document.formhotels.room.focus()
return false
}
if (document.formhotels.number.value=="" || isNaN(document.formhotels.number.value)){
alert("Please type rooms number numerical number")
document.formhotels.number.focus()
return false
}
if (document.formhotels.From.value=="" || isNaN(document.formhotels.From.value)){
alert("Please type cost number")
document.formhotels.From.focus()
return false
}
if (document.formhotels.To.value=="" || isNaN(document.formhotels.To.value)){
alert("Please type cost number")
document.formhotels.To.focus()
return false
}
str = document.formhotels.email.value;
if (str.indexOf('@') == -1 || str.indexOf('.') == -1){
alert ('Please type your true email');
document.formhotels.email.focus();
return false;
}
}

function astmCity(){
if (document.formhotels.city.value=="other"){
document.getElementById("OtherDiv").style.display="block"
}else{
document.getElementById("OtherDiv").style.display="none"
}
}


function astmConvert(){
var value;
var exch;
var expr;
value=formConvert.value.value
exch=formConvert.exch.value
expr=formConvert.expr.value
open("currency.php?value="+value+"&exch="+exch+"&expr="+expr+"","windowopen","toolbar=0,location=0,width=350,height=175,status=1");
}
function astm_maillist(){
if (document.formmaillist.name.value==""){
alert("Please type your name")
document.formmaillist.name.focus()
return false
}
str = document.formmaillist.email.value;
if (str.indexOf('@') == -1 || str.indexOf('.') == -1){
alert ('Please type your true email');
document.formmaillist.email.focus();
return false;
}
}
function astm_vote(x){
if(x==1){
 document.getElementById('show_vote').style.display='block';
 document.getElementById('show_result').style.display='none';
 return false
}else{
 document.getElementById('show_vote').style.display='none';
 document.getElementById('show_result').style.display='block';
 return false
}
}
<!--------------------------->
function astm_contact(){
if (document.formContact.kind.value==""){
alert("Please select the message kind")
document.formContact.kind.focus()
return false
}
if (document.formContact.name.value==""){
alert("Please type your name")
document.formContact.name.focus()
return false
}
if (document.formContact.job.value==""){
alert("Please type your job")
document.formContact.job.focus()
return false
}
if (document.formContact.country.value==""){
alert("Please select your country")
document.formContact.country.focus()
return false
}
if(document.formContact.mobile.value!=""){
if(isNaN(document.formContact.mobile.value)){
alert("Please type your true mobile number")
document.formContact.mobile.focus()
return false
}
if(document.formContact.mobile.value.length <= "10"){
alert("Please type your true mobile number")
document.formContact.mobile.focus()
return false
}
}
if(document.formContact.phone.value!=""){
if(isNaN(document.formContact.phone.value)){
alert("Please type your true phone number")
document.formContact.phone.focus()
return false
}
if(document.formContact.phone.value.length <= "10"){
alert("Please type your true phone number")
document.formContact.phone.focus()
return false
}
}
if(document.formContact.fax.value!=""){
if(isNaN(document.formContact.fax.value)){
alert("Please type your true fax number")
document.formContact.fax.focus()
return false
}
if(document.formContact.fax.value.length <= "10"){
alert("Please type your true fax number")
document.formContact.fax.focus()
return false
}
}
str = document.formContact.email.value;
if (str.indexOf('@') == -1 || str.indexOf('.') == -1){
alert ('Please type your true email');
document.formContact.email.focus();
return false;
}
if (document.formContact.msg.value==""){
alert("Please type your message")
document.formContact.msg.focus()
return false
}
}