function pass(){
	if(document.pass_form.pass1.value!==document.pass_form.pass2.value){
				
alert("فضلا تأكد من تطابق الرقم السري الجديد");
	    return false; }
}


function email(){
	if(document.email_form.email1.value!==document.email_form.email2.value){
				
alert("فضلا تأكد من تطابق البريد");
	    return false; }
}



	function empty_add_topic(){
	
if(!document.add_topic.a_topic_1.value || !document.add_topic.a_topic_2.value || !document.add_topic.a_topic_3.value || !document.add_topic.a_topic_4.value || !document.add_topic.a_topic_5.value ){
alert("فضلا أدخل التوبيك");
    return false; }
    else
    return true;
     }



	function empty_comm_check(){
	
			if(!document.opinion_form.sander.value || !document.opinion_form.title.value|| !document.opinion_form.txt.value || !document.opinion_form.code.value || !document.opinion_form.email.value ){
				
				
			
	


alert("فضلا أدخل البيانات كاملة");
    return false; }
    else
    return true;
     }


function s_email(id)
{
msgwindow=window.open("sand2email.php?id="+id,"displaywindow","toolbar=no,scrollbars=no,width=350,height=270,top=200,left=200")
}



function Copy_topic() 
{
topic_show.topic.select()
topic_show.topic.focus()
document.execCommand("Copy","s")
alert("تم نسخ التوبيك");
}


function Copy_s_msg() 
{
topic_show.s_msg.select()
topic_show.s_msg.focus()
document.execCommand("Copy","s")
alert("تم نسخ الرسالة الشخصية");
}


function Copy_vb_topic() 
{
topic_show.t_vb.select()
topic_show.t_vb.focus()
document.execCommand("Copy","s")
alert("تم نسخ التوبيك لوضعه بالمنتديات");
}

function Copy_vb_s_msg() 
{
topic_show.s_vb.select()
topic_show.s_vb.focus()
document.execCommand("Copy","s")
alert("تم نسخ الرسالة الشخصية لوضعها بالمنتديات");
}


