document.write(''); document.write(''); var aIds_frm_de86f5b41e = Array( 'pg_ebaed26f6f' ); var aId_frm_de86f5b41e = Array ();function ChangePage_frm_de86f5b41e( to_hide, to_show ){ var tbl_hide = document.getElementById( aIds_frm_de86f5b41e[to_hide] ); var tbl_show = document.getElementById( aIds_frm_de86f5b41e[to_show] ); if ( typeof(tbl_hide)=='object' && tbl_hide!=null ) if ( typeof(tbl_show)=='object' && tbl_show!=null ) { tbl_hide.style.display = 'none'; tbl_show.style.display = ''; } }function NotEmpty( old_res, id, field_title ){ if ( old_res==0 ) { var el = document.getElementById( id ); if ( typeof(el)=='object' && el!=null ) if ( el.value=='' ) { alert( 'You should fill "' + field_title + '"' ); return 1; } } return 0;}function Email_not_empty( old_res, id, field_title ){ if ( old_res==0 ) { var el = document.getElementById( id ); if ( typeof(el)=='object' && el!=null ) { var re = /^[a-zA-Z0-9_\.\-]+@([a-zA-Z0-9][a-zA-Z0-9-]+\.)+[a-zA-Z]{2,6}$/; if (el.value.search(re) != -1 ) return 0; else { alert( '"'+field_title+'" must be email' ); return 1; } } } return 0;}function CheckLeapYear( id ){ var aDaysNum = Array( 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ); var id_cut = id.substr( 6, id.length-6 ); var day_sel = document.getElementById( 'fld_d_' + id_cut ); var month_sel = document.getElementById( 'fld_m_' + id_cut ); var year_sel = document.getElementById( 'fld_y_' + id_cut ); if ( !year_sel ) { var year_sel = {}; year_sel.value='2004'; } if ( typeof(day_sel)=='object' && day_sel!=null ) if ( typeof(month_sel)=='object' && month_sel!=null ) if ( typeof(year_sel)=='object' && year_sel!=null ) { if ( month_sel.selectedIndex==1 ) { if ( year_sel.value % 400==0 || (year_sel.value % 100!=0 && year_sel.value % 4==0) ) aDaysNum[1] = 29; } var day_sel_ix = day_sel.selectedIndex; day_sel.options.length = 0; for ( i=1; i<=aDaysNum[month_sel.selectedIndex]; i++ ) { if ( document.createElement ) { var newOpt = document.createElement( "OPTION" ); newOpt.text = i; newOpt.value = i; ( day_sel.options.add ) ? day_sel.options.add(newOpt) : day_sel.add(newOpt, null); } else { day_sel.options[i-1] = new Option( i, i, false, false ); } } if ( day_sel.options.length < (day_sel_ix+1) ) day_sel.selectedIndex = day_sel.options.length-1; else day_sel.selectedIndex = day_sel_ix; }}document.write('
'); document.write(''); document.write(''); document.write(''); function CheckPage_frm_de86f5b41e_ebaed26f6f(){ var nResult = 0; nResult += NotEmpty( nResult, 'fld_9e2cf72949','First Name' ); nResult += NotEmpty( nResult, 'fld_432272922a','Last Name' ); nResult += Email_not_empty( nResult, 'fld_2eb5d32b66','Email' ); nResult += NotEmpty( nResult, 'fld_39e5e3239f','Phone' ); nResult += NotEmpty( nResult, 'fld_06d9cf34ae','Message' ); if ( nResult == 0 ) { document.getElementById('loading').style.display='inline'; document.getElementById('imgcode_code').style.display='none'; if (arguments[0] == 1) { window.temp = 'yes'; } else { window.temp = 'no'; } CheckImg(); return; if (1) { var el = document.getElementById( 'frm_de86f5b41e' ); if ( typeof(el)=='object' && el != null ) { el.submit() } } else { ChangePage_frm_de86f5b41e( 0, 1 ); document.location.href="#"; } } }function SetFDate(fld_id){ var cur_date = new Date(); var minutes = cur_date.getMinutes(); var hour= cur_date.getHours(); var day = cur_date.getDate(); var month = cur_date.getMonth(); var year = cur_date.getFullYear(); var eDay = document.getElementById('fld_d_' + fld_id); if ( typeof(eDay )=='object' && eDay != null ) { eDay.options[day].selected = 'selected'; } var eHour= document.getElementById('fld_h_' + fld_id); if ( typeof(eHour)=='object' && eHour != null ) { eHour.options[hour].selected = 'selected'; } var eMinutes = document.getElementById('fld_i_' + fld_id); if ( typeof(eMinutes)=='object' && eMinutes != null ) { eMinutes.options[minutes].selected = 'selected'; } var eMonth = document.getElementById('fld_m_' + fld_id); if ( typeof(eMonth)=='object' && eMonth != null ) { eMonth.options[month].selected = 'selected'; } var eYear = document.getElementById('fld_y_' + fld_id); if ( typeof(eYear)=='object' && eYear != null ) { for(i=0;i'); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(''); document.write(' '); document.write(' '); document.write(''); document.write(' '); function changeAccessCodeImg(){ var randim = Math.random(); document.images.captcha.src = "http://www.top-ten-website-marketing.com/phpforms/index.php?frm=de86f5b41e&randm="+ randim + ""; document.forms['frm_de86f5b41e'].imgcode_id.value =+ randim + ""; } changeAccessCodeImg(); function CheckImg(){ var s = document.createElement('script'); s.setAttribute('type','text/javascript'); cl_code = document.getElementById('imgcode_code'); checimg = cl_code.value; randim = document.forms['frm_de86f5b41e'].imgcode_id.value; document.documentElement.firstChild.appendChild(s); ff_onload_called=false; s.setAttribute('src', "http://www.top-ten-website-marketing.com/phpforms/index.php?frm=de86f5b41e&chrandm=" + randim + "&checimg=" + checimg + ""); s.setAttribute('onload', "ff1()"); }var ff_onload_called=false;function ff1(){ if(ff_onload_called) return; ff_onload_called=true; document.getElementById('loading').style.display='none'; document.getElementById('imgcode_code').style.display=''; if (ci == 3) { alert("Sorry, the code you've entered is invalid. Please try again."); return 1; } if (ci == 2 ) { var el = document.getElementById('frm_de86f5b41e'); if ( typeof(el)=='object' && el != null ) { el.submit() } } }document.write(' '); document.write(''); document.write(' '); document.write(' '); document.write(''); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write('
'); document.write(' First Name *'); document.write(' '); document.write(' '); document.write('
'); document.write(' Last Name *'); document.write(' '); document.write(' '); document.write('
'); document.write(' Email *'); document.write(' '); document.write(' '); document.write('
'); document.write(' Phone *'); document.write(' '); document.write(' '); document.write('
'); document.write(' How Many Guests *'); document.write(' '); document.write(' '); document.write('
'); document.write(' Date of Arrival *'); document.write(' '); document.write(' '); document.write(' '); document.write(''); document.write(' '); document.write(''); document.write(' '); document.write('
'); document.write(' Bottle Service (VIP) *'); document.write(' '); document.write(' '); document.write('
'); document.write(' Message *'); document.write(' '); document.write(' '); document.write('
'); document.write('
'); document.write(' '); document.write(' Reload image'); document.write('
'); document.write('
'); document.write(' Enter the code you see on the image:
'); document.write(' '); document.write('
'); document.write(' '); document.write('
'); document.write('
'); document.write(''); document.write('
'); document.write(' '); document.write(''); document.write('');