var HINTS_CFG = {
	'top'        : 5, // a vertical offset of a hint from mouse pointer
	'left'       : 0, // a horizontal offset of a hint from mouse pointer
	'css'        : 'hintsClass', // a style class name for all hints, TD object
	'show_delay' : 500, // a delay between object mouseover and hint appearing
	'hide_delay' : 20000, // a delay between hint appearing and hint hiding
	'wise'       : true,
	'follow'     : true,
	'z-index'    : 0 // a z-index for all hint layers
},

HINTS_ITEMS = {
1:'<table border="1" cellspacing="0" cellpadding="0"><tr><td bgcolor="#FFFF99"><table border="0" cellspacing="1" cellpadding="3" width="301" height="110"><tr class="row"><td align="right" class="popup"><p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px;"><font face="Tahoma" style="font-size: 10pt">- يجب 		أن يكون اسم مستخدم مؤلفاً من 4 - 13 محرفاً.</font></p>		<p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px;">		<font face="Tahoma" style="font-size: 10pt">- 		يجب اختيار كلمة مرور مؤلفة من 6-13 محرفاً.</font></p>		<p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px;">		<font face="Tahoma" style="font-size: 10pt">- لا 		يجب أن يحتوي اسم المستخدم وكلمة المرور على رموز غريبة وهي:</font></p>		<p style="margin-right: 10px; margin-top: 2px; margin-bottom: 10px;">		<font face="Tahoma" style="font-size: 10pt">&nbsp;( 		) * 7 ^ % $ # @ !` ~ } { : ; ? &gt; &lt; / + = ، × ÷ \'</font></p>		</td></tr></table></td></tr></table>',
2:'<table border="1" cellspacing="0" cellpadding="0"><tr><td bgcolor="#FFFF99"><table border="0" cellspacing="1" cellpadding="3" width="301" height="150"><tr class="row"><td align="right" class="popup"><p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px;"><font face="Tahoma" style="font-size: 10pt">		<p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px;">		<font face="Tahoma" style="font-size: 10pt">بادخالك الرمز الذي تراه في المربع، تساعد النظام في منع التسجيل الآلي. وهذا سيخفف العبء على النظام، وهذا سيضمن لك كفاءة أعلى لخدماتنا إذا لم تظهرالصورة؛ الرجاء التأكد من أن المتصفح مجهز ليظهر الصور ثم حاول مرة أخرى.إذا لم تكن متأكد من الرمز؛ حاول أن تخمن، إذا لم يكن تخمينك صحيحا؛ سوفي كون لديك فرصة أخرى لادخال رمز مختلف في الصفحة التالية.</span></font></p>		</td></tr></table></td></tr></table>',
3:'<table border="1" cellspacing="0" cellpadding="0"><tr><td bgcolor="#FFFF99"><table border="0" cellspacing="1" cellpadding="3" width="301" height="100"><tr class="row"><td align="right" class="popup"><font face="Tahoma" style="font-size: 10pt">		<p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px;">			إذا كنت مشترك في خدمات الزرقاء نت ,يجب عليك إختيار هذا الخيار, ومن ثم إدخال 	رقم عقد الإشتراك و تاريخه للتأكد من هويتك.</p><p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px;">						العضو المشترك في الزرقاء يحصل على ميزات عديدة مثل الدعم الفني 	المجاني , و تخفيضات في أسعار الخدمات المباعة في الموقع.</p>		</td></tr></table></td></tr></table>',
4:'<table border="1" cellspacing="0" cellpadding="0"><tr><td bgcolor="#FFFF99"><table border="0" cellspacing="1" cellpadding="3" width="301" height="70"><tr class="row"><td align="right" class="popup"><font face="Tahoma" style="font-size: 10pt">		<p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px">يفضل 		إدخال رقم جوالك,وذلك لكي تستفيد من ميزة الدعم الفني عن طريق الرسائل 		القصيرة.</td></tr></table></td></tr></table>',
5:'<table border="1" cellspacing="0" cellpadding="0" dir="ltr"><tr><td bgcolor="#FFFF99"><table border="0" cellspacing="1" cellpadding="3" width="301" height="110"><tr class="row"><td align="right" class="popup">	<p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px;" align="left"><font face="Tahoma" style="font-size: 10pt">- username length must be between 3-14.</font></p>						<p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px;" align="left">		<font face="Tahoma" style="font-size: 10pt">- password length must be more then 6 characters.</font></p>						<p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px;" align="left">		<font face="Tahoma" style="font-size: 10pt">- username must not conatin special characters :</font></p>		<p style="margin-right: 10px; margin-top: 2px; margin-bottom: 10px;">		<font face="Tahoma" style="font-size: 10pt">&nbsp;( 		) * 7 ^ % $ # @ !` ~ } { : ; ? &gt; &lt; / + = ، × ÷ \'</font></p>		</td></tr></table></td></tr></table>',
6:'<table border="1" cellspacing="0" cellpadding="0"><tr><td bgcolor="#FFFF99"><table border="0" cellspacing="1" cellpadding="3" width="301" height="150"><tr class="row"><td align="right" class="popup">	<p dir="ltr" align="left">By entering the code which appear in the picture 	you help us to prevent the auto registeration.</p>				<p dir="ltr" align="left">this improve the system behavior and 				help protecting your information.</p>				<p dir="ltr" align="left">If you did not entered the code 				correctly you will get another chance to do in the next page.</td></tr></table></td></tr></table>',
7:'<table border="1" cellspacing="0" cellpadding="0"><tr><td bgcolor="#FFFF99"><table border="0" cellspacing="1" cellpadding="3" width="301" height="100"><tr class="row"><td align="right" class="popup"><font face="Tahoma" style="font-size: 10pt">		<p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px;">			إذا كنت مشترك في خدمات الزرقاء نت ,يجب عليك إختيار هذا الخيار, ومن ثم إدخال 	رقم عقد الإشتراك و تاريخه للتأكد من هويتك.</p><p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px;">						العضو المشترك في الزرقاء يحصل على ميزات عديدة مثل الدعم الفني 	المجاني , و تخفيضات في أسعار الخدمات المباعة في الموقع.</p>		</td></tr></table></td></tr></table>',
8:'<table border="1" cellspacing="0" cellpadding="0"><tr><td bgcolor="#FFFF99"><table border="0" cellspacing="1" cellpadding="3" width="301" height="70"><tr class="row"><td align="right" class="popup"><font face="Tahoma" style="font-size: 10pt">		<p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px">يفضل 		إدخال رقم جوالك,وذلك لكي تستفيد من ميزة الدعم الفني عن طريق الرسائل 		القصيرة.</td></tr></table></td></tr></table>'

};

var myHint = new THints (HINTS_CFG, HINTS_ITEMS);

function wrap (s_, b_ques) {
	return "<table cellpadding='0' cellspacing='0' border='0' style='-moz-opacity:90%;filter:progid:DXImageTransform.Microsoft.dropShadow(Color=#000000,offX=4,offY=4)'><tr><td rowspan='2'><img src='img/1"+(b_ques?"q":"")+".gif'></td><td><img src='/img/pixel.gif' width='1' height='15'></td></tr><tr><td background='img/2.gif' height='28' nowrap>"+s_+"</td><td><img src='img/4.gif'></td></tr></table>"
}

function wrap_img (s_file, s_title) {
	return "<table cellpadding=5 bgcolor=white style='border:1px solid #777777'><tr><td><img src='img/k0"+s_file+".jpg' class='picI'></td></tr><tr><td align=center>"+s_title+"</td></tr></table>"
}

