<!-- //

	alert_mes = 'Please select number of pages, writer level and urgency.';
	non_avail = 'not applicable';

	//var urg=[['7 days','4 days','3 days','48 hours','24 hours'],['30 days','20 days','10 days','7 days','5 days'],[],['7 days','4 days','3 days','48 hours','24 hours']];
	//var urgH=[[1,4,5,6,7],[1,2,3,4,5],[],[1,4,5,6,7]];
	//var lvl=[['Standard Quality','Premium Quality','Specialized: Math/Law/Biology/Finance'],['Standard Quality','Premium Quality','PhD Level'],[],['Standard Quality','Premium Quality','Specialized: Math/Law/Biology/Finance']];
	//var price=[[[13.95,18.95,24.95],[14.95,23.95,27.95],[16.95,24.95,30.95],[23.95,28.95,33.95],[31.95,35.95,37.95]],[[16.95,24.95,29.95],[17.95,25.95,34.95],[19.95,27.95,39.95],[20.95,28.95,44.95],[21.95,29.95,0]],[],[[11.95,17.95,23.95],[12.95,22.95,26.95],[14.95,23.95,29.95],[19.95,26.95,30.95],[27.95,30.95,33.95]]];
	//var minpg=[1,3,1,1];


	var check;

	function show_add_serv(visible)
	{
		var o = document.getElementById('add_serv_head');
		if (o) o.style.display = visible?'':'none';
		var o = document.getElementById('add_serv');
		if (o) o.style.display = visible?'':'none';
		var o = document.getElementById('free_serv');
		if (o) o.style.display = visible?'':'none';
	}
	
	function get_id(o)
	{
		f = o.form;

	   	for (i = 0;i < f.doctype1.length; i++)
    	{
            if (f.doctype1[i].checked)
            {
                    check = f.doctype1[i].value;
                    return f.doctype1[i].value;
                    break;
            }
    	}

    	//check = f.doctype1[i].value;


    	//return f.doctype1[i].value;

	}

	function chg_cover_visibly_visible2()
	{
		if (document.getElementById("pages_text2"))
		{
			document.getElementById("pages_text2").style.display = "inline";
		}
	}

	function chg_cover_visibly_hidden2()
	{
		if (document.getElementById("pages_text2"))
		{
			document.getElementById("pages_text2").style.display = "none";
		}
	}

	function chg_cover_visibly_visible3()
	{
		if (document.getElementById("pages_text3"))
		{
			document.getElementById("pages_text3").style.display = "inline";
		}
	}

	function chg_cover_visibly_hidden3()
	{
		if (document.getElementById("pages_text3"))
		{
			document.getElementById("pages_text3").style.display = "none";
		}
	}

	function chg_cover_visibly_visible4()
	{
		if (document.getElementById("pages_text4"))
		{
			document.getElementById("pages_text4").style.display = "inline";
		}
	}

	function chg_cover_visibly_hidden4()
	{
		if (document.getElementById("pages_text4"))
		{
			document.getElementById("pages_text4").style.display = "none";
		}
	}

	function chg_cover_visibly_visible5()
	{
		if (document.getElementById("pages_text5"))
		{
			document.getElementById("pages_text5").style.display = "inline";
		}
	}

	function chg_cover_visibly_hidden5()
	{
		if (document.getElementById("pages_text5"))
		{
			document.getElementById("pages_text5").style.display = "none";
		}
	}

	function chg_cover_visibly_visible6()
	{
		if (document.getElementById("pages_text6"))
		{
			document.getElementById("pages_text6").style.display = "inline";
		}
	}

	function chg_cover_visibly_hidden6()
	{
		if (document.getElementById("pages_text6"))
		{
			document.getElementById("pages_text6").style.display = "none";
		}
	}

	function chg_cover_visibly_visible()
	{
		if (document.getElementById("pages_text"))
		{
			document.getElementById("pages_text").style.display = "inline";
		}
	}

	function chg_cover_visibly_hidden()
	{
		if (document.getElementById("pages_text"))
		{
			document.getElementById("pages_text").style.display = "none";
		}
	}

	function chg_cover_page_select(o)
	{
		if (document.getElementById('pages'))
			document.getElementById('pages').selectedIndex = o;
		if (document.getElementById('pages2'))
			document.getElementById('pages2').selectedIndex = o;
		if (document.getElementById('pages3'))
			document.getElementById('pages3').selectedIndex = o;
		if (document.getElementById('pages4'))
			document.getElementById('pages4').selectedIndex = o;
		if (document.getElementById('pages5'))
			document.getElementById('pages5').selectedIndex = o;
		if (document.getElementById('pages6'))
			document.getElementById('pages6').selectedIndex = o;
	}

	function change_visible_cover(doct)
	{
		if(doct == 34)
		{
			chg_cover_visibly_visible2();
		}
		else
		{
			chg_cover_visibly_hidden2();
			//chg_cover_page_select(0);
		}

		if(doct == 133)
		{
			chg_cover_visibly_visible3();
		}
		else
		{
			chg_cover_visibly_hidden3();
			//chg_cover_page_select(0);
		}

		if(doct == 137)
		{
			chg_cover_visibly_visible4();
		}
		else
		{
			chg_cover_visibly_hidden4();
			//chg_cover_page_select(0);
		}

		if(doct == 138)
		{
			chg_cover_visibly_visible5();
		}
		else
		{
			chg_cover_visibly_hidden5();
			//chg_cover_page_select(0);
		}

		if(doct == 50)
		{
			chg_cover_visibly_visible();

		}
		else
		{
			chg_cover_visibly_hidden();
			//chg_cover_page_select(0);
		}

		if(doct == 181)
		{
			chg_cover_visibly_visible6();
		}
		else
		{
			chg_cover_visibly_hidden6();
			//chg_cover_page_select(0);
		}
	}

	function chgType1(o)
	{
	get_additional_table(currency);
		chg_cover_page_select(0);
		//document.getElementById('pages').selectedIndex = 2;

		f = o.form;

		si_ = get_id(o);

		change_visible_cover(si_);

		loadUrgency(si_,o);
		loadLevel(si_,o);


		calcTotal(o);

		show_add_serv(o.form.total.value != "0");
	}

	function chgType(o)
	{
		f=o.form;
        si_=f.doctype.options[f.doctype.selectedIndex].value;



		loadUrgency(si_,o);
		loadLevel(si_,o);
		calcTotal(o);
	}

	function loadUrgency(n,o)
	{

		s=o.form.urgency;
		si=s.selectedIndex;
		//alert(si);
		for(i=s.length; i>=0; i--) s.remove(i);
		for(i=0; i<urg[n].length; i++)
		{
			option_= new Option(urg[n][i],urgH[n][i]);
			s.options[i]=option_;
		}
		s.selectedIndex=si;
	}

	function loadLevel(n,o)
	{
		s=o.form.level;
		si=s.selectedIndex;
		for(i=s.length; i>=0; i--) s.remove(i);
		for(i=0; i<lvl[n].length; i++) {
			option_= new Option(lvl[n][i],i+1);
			s.options[i]=option_;
		}
		s.selectedIndex=si;
	}

	function chgUrg(o)
	{
		f=o.form;
		//t=f.doctype.options[f.doctype.selectedIndex].value;
		t = get_id(o);
		u=f.urgency.selectedIndex;
		l=f.level.selectedIndex;
		if(!price[t][currency][u][l])
		{ // no price for this combination!
			alert('Sorry, we can not guarantee this Urgency \n for given Type of document and Level');
			for(u=u; u>=0; u--)
            {
				if(price[t][currency][u][l]>0){f.urgency.selectedIndex=u;break;}
			}
		}

		table_price (u, l);
		//alert(u);
		get_additional_table_order(currency, u, check);

		calcTotal(o);

		show_add_serv(o.form.total.value != "0");
	}

	function setTotal (doctype, urgency, level, currency)

	{

		showPrice = price[doctype][currency][urgency][level];
		document.getElementById('totalPrice').value = showPrice;
	}
	
	var jshow_price=0;
	var subcheck=0;
	var sel_level=0;
	var sel_service_one=0;
	var special_order_text = '';
	var special_order_old_prices = Array();

function table_price(urgency, level)

	{

	        //alert(jshow_price);
		//change_visible_cover(check);

		curency_tag = cur_tag (currency);

		var table_prices1 = '';

		var tt = 0;

		for(keyVar in servName)

		{

			//make some str replace
			servName[keyVar]=servName[keyVar].toString();
			servName[keyVar]=servName[keyVar].replace("Package", "<font id='package'>Package</font>");
			servName[keyVar]=servName[keyVar].replace("Full", "<font id='package'>Full</font>");

			old_level = 0;
			/*service ? 50 have to be allways with one level*/
			if((keyVar == 50))
			{
						old_level = level;
						level = 0; //nubmer 9 in php array

						clpages = ' <div class="price_table2" style="display:none" id="pages_text">&nbsp;&nbsp;Number of cover letters: <select name="pages" id="pages" onchange="calcTotal(this);">';
						for(i = 1; i <= 10; i++)
						{

							if(page == i)
							{

								clpages += '<option selected value="'+i+'" >'+i+'</option>';

							}
							else
								clpages += '<option value="'+i+'">'+i+'</option>';
						}

						clpages += '</select></div>';

			}
			else
			{
				clpages = '';
			}


			if(keyVar == 34 && !jshow_price)
			{
						clpages2 = ' <div class="price_table3" style="display:none" id="pages_text2">&nbsp;&nbsp;Number of cover letters: <select name="pages2" id="pages2" onchange="calcTotal(this);">';
						for(i = 1; i <= 10; i++)
						{

							if(page2 == i)
							{

								clpages2 += '<option selected value="'+i+'" >'+i+'</option>';

							}
							else
								clpages2 += '<option value="'+i+'">'+i+'</option>';
						}

						clpages2 += '</select></div>';
			}
			else
			{
				clpages2 = '';
			}


			if(keyVar == 133 && !jshow_price)
			{
						clpages3 = ' <div class="price_table3" style="display:none" id="pages_text3">&nbsp;&nbsp;Number of cover letters: <select name="pages3" id="pages3" onchange="calcTotal(this);">';
						for(i = 1; i <= 10; i++)
						{

							if(page3 == i)
							{

								clpages3 += '<option selected value="'+i+'" >'+i+'</option>';

							}
							else
								clpages3 += '<option value="'+i+'">'+i+'</option>';
						}

						clpages3 += '</select></div>';
			}
			else
			{
				clpages3 = '';
			}


			if(keyVar == 137 && !jshow_price)
			{
						clpages4 = ' <div class="price_table4" style="display:none" id="pages_text4">&nbsp;&nbsp;Number of cover letters: <select name="pages4" id="pages4" onchange="calcTotal(this);">';
						for(i = 1; i <= 10; i++)
						{

							if(page4 == i)
							{

								clpages4 += '<option selected value="'+i+'" >'+i+'</option>';

							}
							else
								clpages4 += '<option value="'+i+'">'+i+'</option>';
						}

						clpages4 += '</select></div>';
			}
			else
			{
				clpages4 = '';
			}

			if(keyVar == 138 && !jshow_price)
			{
						clpages5 = ' <div class="price_table5" style="display:none" id="pages_text5">&nbsp;&nbsp;Number of cover letters: <select name="pages5" id="pages5" onchange="calcTotal(this);">';
						for(i = 1; i <= 10; i++)
						{

							if(page5 == i)
							{

								clpages5 += '<option selected value="'+i+'" >'+i+'</option>';

							}
							else
								clpages5 += '<option value="'+i+'">'+i+'</option>';
						}

						clpages5 += '</select></div>';
			}
			else
			{
				clpages5 = '';
			}

			if(keyVar == 181 && !jshow_price)
			{
						clpages6 = ' <div class="price_table6" style="display:none" id="pages_text6">&nbsp;&nbsp;Number of references: <select name="pages6" id="pages6" onchange="calcTotal(this);">';
						for(i = 1; i <= 10; i++)
						{

							if(page6 == i)
							{

								clpages6 += '<option selected value="'+i+'" >'+i+'</option>';

							}
							else
								clpages6 += '<option value="'+i+'">'+i+'</option>';
						}

						clpages6 += '</select></div>';
			}
			else
			{
				clpages6 = '';
			}


			showPrice = 0;
			try
			{
				showPrice = price[keyVar][currency][urgency][level];
			}
			catch(err)
			{
			}

			if(tt % 2 == 0)
			{
				css = 'dark';
			}
			else
			{
				css = 'none';
			}

			/* this is first calling of table_price()*/
			if((!check) && (tt == 0))
			{

				check = keyVar;

			}

			/*select checkbox by id*/
			if (keyVar == check)
			{
				checked = 'checked';
			}
			else
			{
				checked = '';
			}

			/*if service don't have level than hide some services without selected level*/
			if((showPrice > 0))

			{

				curr = curency_tag;

				if (showPrice == 0)
				{
					curr = '';
					//showPrice = 'FREE';
					showPrice = '';
				}

				special_order_old_prices_out = '';

				subcheck_show=!subcheck?'':'&subcheck['+subcheck+']=checked';
				level_show=!sel_level?'':'&level='+sel_level;
				href=!jshow_price?'':'<a href="/order.php?doc_type='+keyVar+subcheck_show+level_show+'">';
				special_order_text_out = special_order_text ? '<span class="'+css+'" style="padding: 0px 0pt 0pt 0px; width: 50px; "><a href="/order.php?doc_type='+keyVar+subcheck_show+level_show+'" class="special_order_text">' + special_order_text + '</a></span>' : '';
				hidden = sel_service_one ? ( keyVar == check  ? '' : 'style="display:none;"') : '' ;

				special_price_css = 'red';

				if( special_order_old_prices && special_order_old_prices[keyVar] )
				{
					special_order_old_prices_out = '<font class="special_order_old_prices">$'+special_order_old_prices[keyVar]+'</font>&nbsp;&nbsp;&nbsp;';
					special_price_css = 'red1';
				}

				if( jshow_price )
					radio = '';
				else if( sel_service_one )
					radio = '<input name="doctype1" value="'+keyVar+'" onclick="chgType1(this)" type="hidden" ' +checked+'>';
				else
					radio = '<input name="doctype1" value="'+keyVar+'" onclick="chgType1(this)" type="radio" ' +checked+'>';

				//_servname = sel_service_one ? '<table border="0" cellpadding="0" cellspacing="0" width="250"><tr><td class="titleBlue a-f">'+servName[keyVar]+'</td></tr></table>' : ;

				if( sel_service_one )
				{
					table_prices1 += '<table border="0" cellpadding="0" cellspacing="0" width="100%" '+ hidden +'><tr><td><img src="images/b-none-left.gif" width="10" height="40" alt=""></td><td class="titleBlue a-f">'+servName[keyVar]+'</td><td width="80" class="titleBlue a-f"><font id=red>'+ curr +  showPrice+'</font></td><td><img src="images/b-right_white.gif" width="10" height="40" alt=""></td></tr></table>' + clpages + clpages2 + clpages3 + clpages4 + clpages5 + clpages6;
				}else{
					if(keyVar == 181)
					{
						table_prices1 +=  '<div class="'+css+'" '+ hidden +' id="price_table" onmouseover="Showsubtext2(event,'+keyVar+',0)" onmouseout="Showsubtext2(event,'+keyVar+',1)"><span class="'+css+'" style="width:550px; float:left">'+ radio+href+servName[keyVar]+(!jshow_price?'':'</a>')+'</span><span class="'+css+'" style="width:65px; float:left; padding: 2 0 0 10">'+special_order_old_prices_out+'<font id='+special_price_css+'>'+ curr +  showPrice+'</font></span>'+ special_order_text_out +'</div>' + clpages + clpages2 + clpages3 + clpages4 + clpages5  + clpages6+
							' <div class="kkk" id="sub_'+keyVar+'" style="display:none; position:absolute;z-index:1001; top:-10px; left:-100px; width:300px; padding:5px;border:#000000 1px solid; background-color:#E7E7E7;"><i>Increase your chances of getting a job and don\'t risk a bad reference. Use our <b>job reference verification service</b> to <b>check your references</b> and make sure they will not damage your reputation.</i></div>';
					}else{
						table_prices1 +=  '<div class="'+css+'" '+ hidden +' id="price_table"><span class="'+css+'" style="width:550px; float:left">'+ radio+href+servName[keyVar]+(!jshow_price?'':'</a>')+'</span><span class="'+css+'" style="width:65px; float:left; padding: 2 0 0 10">'+special_order_old_prices_out+'<font id='+special_price_css+'><span id="red_'+keyVar+'">'+ curr +  showPrice+'</span></font></span>'+ special_order_text_out +'</div>' + clpages + clpages2 + clpages3 + clpages4 + clpages5  + clpages6;
					}
				}


				tt++;
			}

			if (old_level)
			{
				level = old_level;
			}

			//show_add_serv(showPrice == 0 || showPrice == 'FREE');

		}

	document.getElementById('test').innerHTML = table_prices1;
	var o = document.getElementById('preview');
	if (o)
	{
		o.disabled = false;
	}

	change_visible_cover(check);

	}



	function table_price_level(urgency, level, currency)

	{

	        //alert(jshow_price);
		//change_visible_cover(check);

		curency_tag = cur_tag (currency);
		curency_word = '&currl='+cur_tag_word (currency);

		var table_prices1 = '';

		var tt = 0;

		for(keyVar in servName)

		{

			//make some str replace
			servName[keyVar]=servName[keyVar].toString();
			servName[keyVar]=servName[keyVar].replace("Package", "<font id='package'>Package</font>");
			servName[keyVar]=servName[keyVar].replace("Full", "<font id='package'>Full</font>");

			old_level = 0;
			/*service ? 50 have to be allways with one level*/
			if((keyVar == 50))
			{
						old_level = level;
						level = 0; //nubmer 9 in php array

						clpages = ' <div class="price_table2" style="display:none" id="pages_text">&nbsp;&nbsp;Number of cover letters: <select name="pages" id="pages" onchange="calcTotal(this);">';
						for(i = 1; i <= 10; i++)
						{

							if(page == i)
							{

								clpages += '<option selected value="'+i+'" >'+i+'</option>';

							}
							else
								clpages += '<option value="'+i+'">'+i+'</option>';
						}

						clpages += '</select></div>';

			}
			else
			{
				clpages = '';
			}


			if(keyVar == 34 && !jshow_price)
			{
						clpages2 = ' <div class="price_table3" style="display:none" id="pages_text2">&nbsp;&nbsp;Number of cover letters: <select name="pages2" id="pages2" onchange="calcTotal(this);">';
						for(i = 1; i <= 10; i++)
						{

							if(page2 == i)
							{

								clpages2 += '<option selected value="'+i+'" >'+i+'</option>';

							}
							else
								clpages2 += '<option value="'+i+'">'+i+'</option>';
						}

						clpages2 += '</select></div>';
			}
			else
			{
				clpages2 = '';
			}


			if(keyVar == 133 && !jshow_price)
			{
						clpages3 = ' <div class="price_table3" style="display:none" id="pages_text3">&nbsp;&nbsp;Number of cover letters: <select name="pages3" id="pages3" onchange="calcTotal(this);">';
						for(i = 1; i <= 10; i++)
						{

							if(page3 == i)
							{

								clpages3 += '<option selected value="'+i+'" >'+i+'</option>';

							}
							else
								clpages3 += '<option value="'+i+'">'+i+'</option>';
						}

						clpages3 += '</select></div>';
			}
			else
			{
				clpages3 = '';
			}


			if(keyVar == 137 && !jshow_price)
			{
						clpages4 = ' <div class="price_table4" style="display:none" id="pages_text4">&nbsp;&nbsp;Number of cover letters: <select name="pages4" id="pages4" onchange="calcTotal(this);">';
						for(i = 1; i <= 10; i++)
						{

							if(page4 == i)
							{

								clpages4 += '<option selected value="'+i+'" >'+i+'</option>';

							}
							else
								clpages4 += '<option value="'+i+'">'+i+'</option>';
						}

						clpages4 += '</select></div>';
			}
			else
			{
				clpages4 = '';
			}

			if(keyVar == 138 && !jshow_price)
			{
						clpages5 = ' <div class="price_table5" style="display:none" id="pages_text5">&nbsp;&nbsp;Number of cover letters: <select name="pages5" id="pages5" onchange="calcTotal(this);">';
						for(i = 1; i <= 10; i++)
						{

							if(page5 == i)
							{

								clpages5 += '<option selected value="'+i+'" >'+i+'</option>';

							}
							else
								clpages5 += '<option value="'+i+'">'+i+'</option>';
						}

						clpages5 += '</select></div>';
			}
			else
			{
				clpages5 = '';
			}

			if(keyVar == 181 && !jshow_price)
			{
						clpages6 = ' <div class="price_table6" style="display:none" id="pages_text6">&nbsp;&nbsp;Number of references: <select name="pages6" id="pages6" onchange="calcTotal(this);">';
						for(i = 1; i <= 10; i++)
						{

							if(page6 == i)
							{

								clpages6 += '<option selected value="'+i+'" >'+i+'</option>';

							}
							else
								clpages6 += '<option value="'+i+'">'+i+'</option>';
						}

						clpages6 += '</select></div>';
			}
			else
			{
				clpages6 = '';
			}


			showPrice = 0;
			try
			{
				showPrice = price[keyVar][currency][urgency][level];
			}
			catch(err)
			{
			}

			
			css = 'dark';
			

			/* this is first calling of table_price()*/
			if((!check) && (tt == 0))
			{

				check = keyVar;

			}

			/*select checkbox by id*/
			if (keyVar == check)
			{
				checked = 'checked';
			}
			else
			{
				checked = '';
			}

			/*if service don't have level than hide some services without selected level*/
			if((showPrice > 0))

			{

				if(reg == 1) { showPrice = ''; curency_tag = ''; }
				curr = curency_tag;

				if (showPrice == 0)
				{
					curr = '';
					//showPrice = 'FREE';
					showPrice = '';
				}

				special_order_old_prices_out = '';

				subcheck_show=!subcheck?'':'&subcheck['+subcheck+']=checked';
				level_show=!sel_level?'':'&level='+sel_level;
				href=!jshow_price?'':'<a href="/order.php?doc_type='+keyVar+subcheck_show+level_show+curency_word+'">';
				special_order_text_out = special_order_text ? '<span class="'+css+'" style="padding: 0px 0pt 0pt 0px; width: 50px; "><a href="/order.php?doc_type='+keyVar+subcheck_show+level_show+curency_word+'" class="special_order_text">' + special_order_text + '</a></span>' : '';
				hidden = sel_service_one ? ( keyVar == check  ? '' : 'style="display:none;"') : '' ; 

				special_price_css = 'red';
				special_pr_txt1 = '';
                special_pr_txt2 = '';
				if( special_order_old_prices && special_order_old_prices[keyVar] )
				{
					special_order_old_prices_out = '<div style="padding-left: 30px;"><font class="special_order_old_prices">'+curr+showPrice+'</font></div>&nbsp;&nbsp;&nbsp;';
                    showPrice = special_order_old_prices[keyVar][currency];
					special_price_css = 'red1';
                    special_pr_txt1 = '(saving ';
                    special_pr_txt2 = ')';
				}

				if( jshow_price )
					radio = '';
				else if( sel_service_one )
					radio = '<input name="doctype1" value="'+keyVar+'" onclick="chgType1(this)" type="hidden" ' +checked+'>';
				else
					radio = '<input name="doctype1" value="'+keyVar+'" onclick="chgType1(this)" type="radio" ' +checked+'>';

				//_servname = sel_service_one ? '<table border="0" cellpadding="0" cellspacing="0" width="250"><tr><td class="titleBlue a-f">'+servName[keyVar]+'</td></tr></table>' : ;

				if( sel_service_one )
				{
					table_prices1 += '<table border="0" cellpadding="0" cellspacing="0" width="100%" '+ hidden +'><tr><td><img src="images/b-none-left.gif" width="10" height="40" alt=""></td><td class="titleBlue a-f">'+servName[keyVar]+'</td><td width="80" class="titleBlue a-f"><font id=red>'+ curr +  showPrice+'</font></td><td><img src="images/b-right_white.gif" width="10" height="40" alt=""></td></tr></table>' + clpages + clpages2 + clpages3 + clpages4 + clpages5 + clpages6;
				}else{
					if(keyVar == 181)
					{
						table_prices1 +=  '<div class="'+css+'" '+ hidden +' id="price_table" onmouseover="Showsubtext2(event,'+keyVar+',0)" onmouseout="Showsubtext2(event,'+keyVar+',1)"><span class="'+css+'" style="width:550px; float:left">'+ radio+href+servName[keyVar]+(!jshow_price?'':'</a>')+'</span><span class="'+css+'" style="width:65px; float:left; padding: 2 0 0 10">'+special_order_old_prices_out+'<font id='+special_price_css+'>'+ curr +  showPrice+'</font></span>'+ special_order_text_out +'</div>' + clpages + clpages2 + clpages3 + clpages4 + clpages5  + clpages6+
							' <div class="kkk" id="sub_'+keyVar+'" style="display:none; position:absolute;z-index:1001; top:-10px; left:-100px; width:300px; padding:5px;border:#000000 1px solid; background-color:#E7E7E7;"><i>Increase your chances of getting a job and don\'t risk a bad reference. Use our <b>job reference verification service</b> to <b>check your references</b> and make sure they will not damage your reputation.</i></div>';
					}else{
						table_prices1 +=  '<div style="float:left;padding-top:10px;"><div id="box-p-h1">&nbsp;</div><div id="box-p-h2">&nbsp;</div><div id="box-p-h3">&nbsp;</div></div>' +
                                            '<div id="box-p-m"><div class="'+css+'" '+ hidden +' id="price_table_level"><span class="'+css+'" style="width:480px; float:left;padding-top:8px;">'+ radio+href+servName[keyVar]+(!jshow_price?'':'</a>')+'</span><span class="'+css+'" style="width:122px; float:left; padding: 8 0 0 10">'+special_order_old_prices_out+'<font id='+special_price_css+' name="red_'+keyVar+'">'+special_pr_txt1+ curr +  showPrice+special_pr_txt2+'</font></span>'+ special_order_text_out +'</div>' + clpages + clpages2 + clpages3 + clpages4 + clpages5  + clpages6+
                                          '</div><div>	<div id="box-p-f1">&nbsp;</div>	<div id="box-p-f2">&nbsp;</div>	<div id="box-p-f3">&nbsp;</div></div>';
					}
				}


				tt++;
			}

			if (old_level)
			{
				level = old_level;
			}
			
			//show_add_serv(showPrice == 0 || showPrice == 'FREE');
			
		}

	document.getElementById('test').innerHTML = table_prices1;
	var o = document.getElementById('preview');
	if (o)
	{
		o.disabled = false;
	}

	change_visible_cover(check);

	}


	function chgLevel(o) {
		t = get_id(o);
        f = o.form;
		u = f.urgency.selectedIndex;
		l = f.level.selectedIndex;

		table_price (u, l);

		if(!price[t][currency][u][l]) // no price for this combination!
        {
			alert('Sorry, we can not guarantee this Level \n for given Type of document and Urgency');
			for(m=l; m>=0; m--)
            {
				if(price[t][currency][u][m]>0)
                {
                    f.level.selectedIndex = m;
                    chgLevelAfterMissingService(o, t);
                    break;
                }
			}
		}
		calcTotal(o);
		show_add_serv(o.form.total.value != "0");
	}


	function chgLevelAfterMissingService(o, service) {
		t = service;
        f = o.form;
		u = f.urgency.selectedIndex;
		l = f.level.selectedIndex;

		table_price (u, l);

		if(!price[t][currency][u][l]) // no price for this combination!
        {
			alert('Sorry, we can not guarantee this Level \n for given Type of document and Urgency');
			for(m=l; m>=0; m--)
            {
				if(price[t][currency][u][m]>0)
                {
                    f.level.selectedIndex = m;

                    for (i = 0;i < f.doctype1.length; i++)
                    {
                        if (f.doctype1[i].value == check)
                        {
                            f.doctype1[i].checked;
                        }
                    }
                    chgLevelAfterMissingService(o, t);
                    break;
                }
			}
		}
		calcTotal(o);
		show_add_serv(o.form.total.value != "0");
	}

	function calcTotal(o) {

		//alert(o);

		//alert(currency);
		f=o.form;

		//alert(f);
		t="0.00";
		//f.cost_per_page.value='0.00';

		//ty=f.doctype.options[f.doctype.selectedIndex].value;
		ty = get_id(o);
		//alert(ty);
		ur=f.urgency.selectedIndex;
		le=f.level.selectedIndex;
		cover_page=f.pages.selectedIndex;
		cover_page2=f.pages2.selectedIndex;
//		cover_page3 = f.pages3.selectedIndex;
//		cover_page4=f.pages4.selectedIndex;
//		cover_page5=f.pages5.selectedIndex;
		cover_page3 = ( typeof(f.pages3) != 'undefined') ? f.pages3.selectedIndex : 0;
		cover_page4 = ( typeof(f.pages4) != 'undefined') ? f.pages4.selectedIndex : 0;
		cover_page5 = ( typeof(f.pages5) != 'undefined') ? f.pages5.selectedIndex : 0;
		cover_page6 = ( typeof(f.pages6) != 'undefined') ? f.pages6.selectedIndex : 0;




        var controlInd;
        var lenelem=f.length;

		pg=1;

		/*alert(pg);  // 1
		alert(ty);  // 137
        alert(ur);  //  0
        alert(le); //   0
        alert(currency);// 0
        
        alert(cover_page); // 0
        alert(pages[ur][cover_page]); // __
        alert(cover_page2); // 0
        alert(pages2[ur][cover_page2]); // __
        alert(cover_page3); // 0
        alert(pages3[ur][cover_page3]); // __
        alert(price[ty][currency][ur][le]); //  144.95
        */

		if(pg)
		{

			if(ty)
			{
                result = 0;

				if(cover_page > 0 )
				{
					t=Math.round(pg*pages[ur][cover_page] * 100)/100; // diss total
					result = 1;
				}

				if(cover_page2 > 0 )
				{
					t=Math.round(pg*pages2[ur][cover_page2] * 100)/100; // diss total
					result = 1;
				}

				if(cover_page3 > 0 )
				{
					t=Math.round(pg*pages3[ur][cover_page3] * 100)/100; // diss total
					result = 1;
				}

				if(cover_page4 > 0 )
				{
					t=Math.round(pg*pages4[ur][cover_page4] * 100)/100; // diss total
					result = 1;
				}

				if(cover_page5 > 0 )
				{
					t=Math.round(pg*pages5[ur][cover_page5] * 100)/100; // diss total
					result = 1;
				}
				if(cover_page6 > 0 )
				{
					t=Math.round(pg*pages6[ur][cover_page6] * 100)/100; // diss total
					result = 1;
				}

				if(result == 0)
				{
					t=Math.round(pg*price[ty][currency][ur][le]*100)/100; // diss total
				}
				else t+=Math.round(pg*price[ty][currency][ur][le]*100)/100;


			}
			else
			{
				//f.cost_per_page.value=price[ty][currency][ur][le]; // cpp
				//alert('tut!!!');
				t=Math.round(pg*price[ty][currency][ur][le]*100)/100; // resume total
			}




		}

         //alert(t);  // 144.95
        
	//alert(parseFloat(t));

        for(controlInd=0; controlInd < lenelem; controlInd++)

        {       
         elem=f[controlInd];
         //alert(elem);
         if((elem.type=='checkbox') && (elem.name!='free[46]') && (elem.name!='free[47]'))
         {
          if(elem.checked==true)
          {
           valelem = subprice[ty][currency][ur][elem.value];
           if(!parseInt(valelem)) valelem = 0;
           t=Math.round((parseFloat(t) + parseFloat(valelem))*100)/100;
          }
         }
        }

        //alert(t); // NAN
        
		f.total.value=t;
        document.getElementById('red_'+ty).innerHTML = cur_tag(currency)+t;

	}


	function selCurr_new(o)
	{
		f=o.form;

/*
		if(currency == 0)
		 {
          currency=f.currrates.options[f.currrates.selectedIndex].value;
          valuta=f.currrates.options[f.currrates.selectedIndex].text;
          f.currrates1.options[f.currrates.selectedIndex].selected=true;
        }
        else
        {
          currency=f.currrates1.options[f.currrates1.selectedIndex].value;
          valuta=f.currrates1.options[f.currrates1.selectedIndex].text;
          f.currrates.options[f.currrates1.selectedIndex].selected=true;
        }/**/

		currency = o.value;
		//alert(currency);
		u=f.urgency.selectedIndex;
		l=f.level.selectedIndex;


		table_price (u, l);
		get_additional_table(currency);
		calcTotal(o);

		show_add_serv(o.form.total.value != "0");
        document.getElementById('lable_curr').innerHTML = cur_tag(currency);
	}

	function selCurr(o,c) {
		f=o.form;
        if(c==0) {
          currency=f.currrates.options[f.currrates.selectedIndex].value;
          valuta=f.currrates.options[f.currrates.selectedIndex].text;
          f.currrates1.options[f.currrates.selectedIndex].selected=true;
        }
        else {
          currency=f.currrates1.options[f.currrates1.selectedIndex].value;
          valuta=f.currrates1.options[f.currrates1.selectedIndex].text;
          f.currrates.options[f.currrates1.selectedIndex].selected=true;
        }
        document.getElementById('orderNow').setAttribute('action','order.php?curr='+valuta);
		calcTotal(o);

		show_add_serv(o.form.total.value != "0");
	}  


	function check_sum() {
		if ( !(document.forms['orderNow'].elements['total'].value > 0)) {
			alert(alert_mes);
			return false;
		}
	}


function popdef(){
info=window.open("","info","toolbar=no,location=no,top=200,left=300,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=400,height=250");
info.document.open();
info.document.write("<html><head><title>Contact Phone Info</title></head><body>")
info.document.write("<p>Contact Phone Number is a phone number where you can be contacted in case we need to verify your order or need additional information to process it. Please give us the number where you can be reached. It may be your mobile number, your work number or any number where you can be reached in the next 30 minutes of your order.</p>");
info.document.write("</body></html>");
info.document.close();
return true;
}

function popdef2(){
info=window.open("","info","toolbar=no,location=no,top=200,left=300,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=400,height=250");
info.document.open();
info.document.write("<html><head><title>Writer level Info</title></head><body>");
info.document.write("<p>Depending on the program you are enrolled at you can choose the quality level you ");
info.document.write("require. We present three quality levels to choose from. Our Standard ");
info.document.write("quality level is widely used for most writing assignments at any subject level ");
info.document.write("and recommended for assignments at Pre-Bachelor and Bachelor levels. <br>");
info.document.write("Our Premium quality level is papers in your particular field of study and is ");
info.document.write("recommended for Master or MBA writing assignment that requires not only ");
info.document.write("excellent writing skills, but in depth research and understanding of the subject. ");
info.document.write("<br>");
info.document.write("Our Specialized: Math/Law/Biology/Finance quality level is recommended for Law or Medical ");
info.document.write("School students or students who take very high level courses that requires extraordinary research. ");
info.document.write("</p>");
info.document.write("</body></html>");
info.document.close();
	return true;
	}

function popdef3(){
info=window.open("","info","toolbar=no,location=no,top=200,left=300,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=400,height=250");
info.document.open();
info.document.write("<html><head><title>Language Style Info</title></head><body>");
info.document.write("<p>Although we are an American company we have British writers on staff. ");
info.document.write("So, please choose an appropriate language style.</p>");
info.document.write("</body></html>");
info.document.close();
return true;
}

function popdef4(){
info=window.open("","info","toolbar=no,location=no,top=200,left=300,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=400,height=250");
info.document.open();
info.document.write("<html><head><title>Discount Program Info</title></head><body>");
info.document.write("<p>We offer a flexible discount program for resume writing. ");
info.document.write("We have built proprietory state of art discount system to reward returning ");
info.document.write("clients and build strong and long term relationship. It's unique, automated, ");
info.document.write("money saving program not matched by any of our competitors.<br><br> ");
info.document.write("More details:<br>");
info.document.write("<a target='_blank' href='http://www.resumesexperts.com/'>www.resumesexperts.com</a></p>");
info.document.write("</body></html>");
info.document.close();
return true;
}

function popdef5(){
info=window.open("","info","toolbar=no,location=no,top=100,left=200,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=600,height=500");
info.document.open();
info.document.write("<html><head><title>References Style Info</title></head><body>");
info.document.write("MLA (Modern Language Association) is a newer system, and it is the one I recommend ");
info.document.write("you. History departments seem to be the last place using the old superscript system,");
info.document.write(" which involves putting a little raised number that refers either to a footnote at ");
info.document.write("the foot of the page, as here, or to an endnote at the end of the paper. All other ");
info.document.write("humanities departments use the MLA style. ");
info.document.write("<br><br>The sciences use the APA style described in the next section. The ");
info.document.write("differences are only in the method of citing a text, not in quoting it. ");
info.document.write("The sciences tend to refer primarily to published papers, and these are indicated ");
info.document.write("by the last name of the author and the date of the publication. Thus, for the APA ");
info.document.write("style, created by the American Psychological Association, the citation in the text ");
info.document.write("in parentheses will have the author\'s name, paper date, and page numbers with the p.\'s; an example is ( Smith, 1998, pp. 3-7). ");
info.document.write("Basically, numerous books exist, but if you are consistent and use common sense, ");
info.document.write("you ought to be able to figure out what is the minimum you can get away with. ");
info.document.write("If not, check out these websites: for MLA style, and for the APA, Turabian ");
info.document.write("documentation format uses Footnotes or Endnotes and a Bibliography. ");
info.document.write("<br><br>Footnotes or Endnotes: In the text, the note reference follows the passage to ");
info.document.write("which it refers and is marked with an Arabic numeral typed slightly above the ");
info.document.write("line (superscript). Notes are arranged numerically at the foot (Footnotes) of ");
info.document.write("the page or at the end (Endnotes) of the resume, article, or book. Notes include ");
info.document.write("complete bibliographic information when cited for the first time. ");
info.document.write("<br><br>Bibliography: Lists only sources used in writing the paper. Entries are ");
info.document.write("arranged alphabetically by author\'s surname and include complete bibliographic ");
info.document.write("information. <br><br>");
info.document.write("Examples <br>");
info.document.write("<a href=\"http://www.bridgew.edu/Library/turabian.cfm\">www.bridgew.edu/Library/turabian.cfm</a><br><br>");
info.document.write("Chicago style Unlike APA and MLA styles, the Chicago style of citing sources ");
info.document.write("does not utilize in-text references; instead, footnotes and endnotes are ");
info.document.write("substituted. Whenever the words or ideas of another are used, the source must ");
info.document.write("be documented. The Chicago Manual of Style has two basic systems for documentation ");
info.document.write("of sources. The notes and bibliography system is used by many writers in ");
info.document.write("literature, history and the arts. The author-date system is used in the physical, ");
info.document.write("natural, and social sciences. The notes and bibliography system is similar to ");
info.document.write("the Turabian format, and the author-date system is similar to the APA and MLA ");
info.document.write("formats. Sections of the manual with relevant information are provided in ");
info.document.write("parenthesis. The Chicago or Turabian style places bibliographic citations at the ");
info.document.write("bottom of a page or at the end of a paper. Ask your instructor whether you ");
info.document.write("need to use notes or whether you can cite sources parenthetically in your text.<br><br>");
info.document.write("The Harvard system of citation is the most straightforward, because initially ");
info.document.write("all you need to do is mention the author and date of publication in the text of ");
info.document.write("your work. So, at each point in the text which refers to a particular document, ");
info.document.write("insert the author's surname and publication year. The Harvard system is made up ");
info.document.write("of two components: <br>");
info.document.write("Citation:<br>");
info.document.write("which provides brief details of the author and date of publication for referencing ");
info.document.write("the work in the body of the text Citing author, date and page numbers in the text ");
info.document.write("When referring to an author\'s work, the author\'s surname and the year of ");
info.document.write("publication are placed in the text in parentheses. There is no punctuation ");
info.document.write("between the surname and the year of publication.");
info.document.write("</body></html>");
info.document.close();
return true;
}

function popdef7(){
info=window.open("","info","toolbar=no,location=no,top=200,left=300,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=400,height=250");
info.document.open();
info.document.write("<html><head><title>Number of sources</title></head><body>");
info.document.write("<p>This is the exact number of books, articles, sites or other sources that you want the writer to list in the ");
info.document.write("bibliography and use them while writing the paper. Please specify in the instructions how many internet sources are accepted in the paper.");
info.document.write("</p>");
info.document.write("</body></html>");
info.document.close();
return true;
}

function mailOrderNowForm() {
            return true;
}
// -->

// function Showsubtext

function Showsubtext2(e,id,v) {
         var mousX=e.screenX;
         var mousY=e.screenY;
         var vScroll = document.body.scrollTop;
         //var vScroll = document.documentElement.scrollTop);

         if(v==0) {
           document.getElementById('sub_'+id).style.top=mousY+vScroll-120;
           document.getElementById('sub_'+id).style.left=mousX+10;
           document.getElementById('sub_'+id).style.display="block";
         } else {
           document.getElementById('sub_'+id).style.top=-10+'px';
           document.getElementById('sub_'+id).style.left=-100+'px';
           document.getElementById('sub_'+id).style.display="none";
         }
}
/**/

function ggg()
                   {
                   	alert('ggg()'+currency);
                   }


 function cur_tag (currency)
 {
 	var curency_tag = '';

	if(currency == 0){curency_tag = '$';}
	if(currency == 1){curency_tag = '&pound;&nbsp;';}
	if(currency == 2){curency_tag = 'A$&nbsp;';}
	if(currency == 3){curency_tag = '&euro;&nbsp;';}

	return curency_tag;
 }
 function cur_tag_word (currency)
 {
 	var curency_tag_word = '';

	if(currency == 0){curency_tag_word = 'USD';}
	if(currency == 1){curency_tag_word = 'GBP';}
	if(currency == 2){curency_tag_word = 'AUD';}
	if(currency == 3){curency_tag_word = 'EUR';}

	return curency_tag_word;
 }

function get_additional_table(currency)

{

	curency_tag = cur_tag (currency);
	
	if( document.orderNow )
	{
      f = document.orderNow;
	   	for (i = 0;i < f.doctype1.length; i++)
    	{
       	if (f.doctype1[i].checked)
       	check = f.doctype1[i].value;
          	break;
    	}
	}
	else check = 29;    	

    	
	subprice_fld = subprice[check][currency][0];


	for (i = 0; i < subprice_fld.length; i++)

	{
		ggg = subprice_fld[i];

		if (add_price_ =  document.getElementById('add_price__'+i)) {
			add_price_.innerHTML = curency_tag + ggg;
		}
	}


}


function get_additional_table_order(currency, urgency, doctype)

{


	curency_tag = cur_tag (currency);


	//alert(urgency);

	subprice_fld = subprice[doctype][currency][urgency];


	for (i = 0; i < subprice_fld.length; i++)

	{
		ggg = curency_tag + subprice_fld[i];

		if (add_price_ =  document.getElementById('add_price__'+i)) {
			add_price_.innerHTML = ggg;		}
	}


}

		var browser=navigator.appName;
/*
	function table_service_price(urgency, level, doctype, fontId)

	{

		var table_prices1 = '';

		curency_tag = cur_tag (currency);

		var table_prices1 = '<table cellspacing="0" frame="void" width="300" class="service_prices">';
		var tt = 1;

		for(val in lvl[doctype])
		{

			if(tt % 2 == 1)
			{
				css = 'darkServ';
			}
			else
			{
				css = 'noneServ';
			}

			showPrice = price[doctype][currency][urgency][val]; // price

			idName = 'entry'+tt;


					if(bbb != 1)
					{
						width_l = 75;
						width_r = '';
						url = 'order.php?doc_type='+doctype+'&level='+tt+'&currency='+currency;
					}
					else
					{
						width_l = 95;
						width_r = '&nbsp;&nbsp;&nbsp;&nbsp;';
					}

				if(browser == 'Netscape')
				{

					table_prices1 += '<table cellspacing="0" frame="void" width="300" class="service_prices">';
					table_prices1 +=  '<div id="serviseHref" class="'+css+'" style="width:155px; float:left; display: inline; cursor: pointer;" onmouseover="Showsubtext(event,\''+idName+'\',0)" onmouseout="Showsubtext(event,\''+idName+'\',1)"><a href="'+url+'#form">'+width_r+lvl[doctype][val]+ ' level</a></div><div class="'+css+'"  id="serviseHref" style="width:'+width_l+'px; float:left;"><font id=red2>&nbsp;&nbsp;&nbsp; '+ curency_tag +  showPrice+"</font></div>\r\n";
				}
				else
				{
					table_prices1 += '<tr class="'+css+'"><td><div style="display: inline; cursor: pointer;" onmouseover="Showsubtext(event,\''+idName+'\', 0)" onmouseout="Showsubtext(event,\''+idName+'\', 1)"><a href="'+url+'#form"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'+lvl[doctype][val]+ ' level</a></div></td> <td><font class=red2 size=3> '+ curency_tag +  showPrice+"</font></td></tr>";
				}

					table_prices1 += '<div id="'+idName+'" class="div_help"></div>';
					tt++;

		}

		table_prices1 += '</table>';

		if(fontId == 'service4')
		{

			document.getElementById(fontId).innerHTML = table_prices1;
		}
		else
		{
			document.getElementById(fontId).innerHTML = table_prices1;
		}
	}
	/**/

	function change_currency_view(curr)
	{
		currency = curr;

		table_service_price(0, 0, 29, 'service');
		table_service_price(0, 0, 30, 'service2');
		table_service_price(0, 0, 31, 'service3');
		table_service_price(0, 0, 32, 'service4');
		

		for (i = 0;i <= 4; i++)
    	{

    		kohp = 'currtext_'+currency;

    		for (j = 0;j <= 3; j++)
    		{
    			kohp = 'currtext_'+i+'_'+j;
    			document.getElementById(kohp).style.textDecoration = "none";
    		}


    		kohp1 = 'currtext_'+i+'_'+curr;
    		document.getElementById(kohp1).style.textDecoration = "underline";
    	}



    	get_additional_table(currency);
    	make_help_content();
    	//alert(currency);
	}

//	var spec_style = 1;
	var spec_style_title_no_link = 0;
/*	var spec_style_fd_width = '70%';
	var spec_style_order_text = 'order now';
	var spec_style_bottom_border = 1;
	var spec_style_order_class = 'red2';*/

	var spec_style = 1;
	var spec_style_fd_width = '60%';
	var spec_style_order_text = 'order';
	var spec_style_bottom_border = 0;
	var spec_style_order_class = 'service_order_button';


	function table_service_price(urgency, level, doctype, fontId)

	{

		var table_prices1 = '';

		curency_tag = cur_tag (currency);
		
		tb_width = spec_style ? 'width="100%"' : 'width="250"';
		fd_width = spec_style ? spec_style_fd_width + ';' : '155px;';
		                              
		var table_prices1 = '<table cellspacing="0" frame="void" '+ tb_width +' class="service_prices">';
		var tt = 1;
		var level_script = Array();
		level_script= ['entry_level.php','professional_level.php','career_change.php','executive_level.php','military_level.php','federal_level.php'];
		table_prices1 += '<table cellspacing="0" frame="void" '+ tb_width +' class="service_prices">';


		for(val in lvl[doctype])
		{

			
			if(tt % 2 == 1)
			{
				css = 'darkServ';
			}
			else
			{
				css = 'noneServ';
			}

			showPrice = price[doctype][currency][urgency][val]; // price

			idName = 'entry'+tt;


					if(bbb != 1)
					{
						width_l = 75;
						width_r = '';
						//spec_view = spec_style ? "&sel_ser_one=1" : "";
                        spec_view = spec_style ? "" : "";
						url_price = 'order.php?doc_type='+doctype+'&level='+tt+'&currency='+currency+spec_view;
						url=level_script[tt-1];
					}
					else
					{
						width_l = 95;
						width_r = '&nbsp;&nbsp;&nbsp;&nbsp;';
					}

				/*if(browser == 'Netscape')
				{ */
					level_name = spec_style_title_no_link ? '<strong>'+width_r+lvl[doctype][val]+ ' level </strong>' : '<a href="'+url+'">'+width_r+lvl[doctype][val]+ ' level </a>';
					br_color = ( spec_style_bottom_border && tt > 1 ) ? 'border-top:1px solid #d2d2d2;' : '';
					order_link = spec_style ? '<td class="'+css+'"  style="width:100px; cursor: pointer; '+br_color+'"><a href="'+url_price+'" id='+spec_style_order_class+'><font >'+spec_style_order_text+'</font></a></td>' : '';
					//table_prices1 +=  '<div id="serviseHref" class="'+css+'" style="width:'+ fd_width +' float:left; display:inline; cursor: pointer; '+br_color+'">'+level_name+'</div></a><a href="'+url_price+'"><span class="'+css+'"  id="serviseHref" style="width:'+width_l+'px; float:left;display:inline; cursor: pointer; '+br_color+'"><font id=red2>'+ curency_tag +  showPrice+"</font></span><span class="+css+'"  style="width:100px; float:left;display:inline; cursor: pointer; '+br_color+'">order now</span></a>\r\n';
					table_prices1 +=  '<table '+tb_width+' cellpadding=0 cellspacing=0 border=0><tr><td id="serviseHref" class="'+css+'" style="width:'+ fd_width +' cursor: pointer; '+br_color+'">'+level_name+'</td><td class="'+css+'"  id="serviseHref" style="width:'+width_l+'px;  cursor: pointer; '+br_color+'"><a href="'+url_price+'"><font id=red2>'+ curency_tag +  showPrice+"</font></td>" + order_link + "</tr></table>\r\n";
/*				}
				else
				{

					table_prices1 += '<tr class="'+css+'"><td><div style="display: inline; cursor: pointer;"><a href="'+url+'#form"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'+lvl[doctype][val]+ ' level</a></div></td> <td><a href="'+url_price+'#form"><font class=red2 size=3 style="display: inline; cursor: pointer;"> '+ curency_tag +  showPrice+"</font></a></td></tr>";

				}*/

					table_prices1 += '<div id="'+idName+'" class="div_help"></div>';
					tt++;

		}

		table_prices1 += '</table>';

		if(fontId == 'service4')
		{

			document.getElementById(fontId).innerHTML = table_prices1;
		}
		else
		{
			document.getElementById(fontId).innerHTML = table_prices1;
		}
	}

	function make_help_content()

	{
		/*make content of help array id*/
		for(varHelp in help)
		{
			get_help(varHelp);
		}

	}




/*questions part*/


function get_increame_exp(id)
{
	document.getElementById('exp[' +id+ ']').innerHTML = ggg();
	wid = id + 1;
	updateBtn(wid);
	//alert(wid);
}

 function get_incr_edu(id)
 {

 	//alert(id);
 	document.getElementById("edu["+id+"]").innerHTML = hhh();
	eid = id + 1;
	updateBtnEdu(eid);
 }

  function get_decreame_exp (id)
 {

 	id = id - 1;
 	document.getElementById("exp["+id+"]").innerHTML = '';
	wid = wid - 1;
	updateBtn(wid);
 }

 function get_decr_edu(id)
 {

 		id = id - 1;
 		document.getElementById("edu["+id+"]").innerHTML = '';
		eid = eid - 1;
		updateBtnEdu(eid);
 }

function make_exp_content()
{
	var fulltext = '';
	for(val in experience)
	{
		fulltext += ggg();
	}

	document.getElementById('exp').innerHTML = fulltext;
}


function make_educat_content()
{

	var fulltext = '';
	for(val in education)
	{
		fulltext += hhh();
	}

	document.getElementById('ddd').innerHTML = fulltext;
}


/*end of questions part*/
