document.write('');document.write('');var aIds = Array( 'pg_8e35f625f0' );var aId = Array ();function ChangePage( to_hide, to_show ){ var tbl_hide = document.getElementById( aIds[to_hide] ); var tbl_show = document.getElementById( aIds[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 LettersOnly( old_res, id, field_title ){ if ( old_res==0 ) { var el = document.getElementById( id ); if ( typeof(el)=='object' && el!=null ) { var re = /^[a-zA-Z\s]+$/; if (el.value.search(re) == -1 ) { alert( '"' + field_title + '" must contain letters only' ); return 1; } } } return 0;}function Email( 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 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;}document.write('
');document.write('');document.write('');document.write('');function CheckPage8e35f625f0(){ var nResult = 0; nResult += LettersOnly( nResult, 'fld_86929761d9','Name' ); nResult += Email( nResult, 'fld_92d0c51502','Email' ); nResult += NotEmpty( nResult, 'fld_ae6a482cb0','Subject' ); nResult += NotEmpty( nResult, 'fld_75f761d13f','Message' ); nResult += CheckImg(); if ( nResult == 0 ) { if (1) { var el = document.getElementById( 'frm_3833f75bd2' ); if ( typeof(el)=='object' && el != null ) el.submit(); } else ChangePage( 0, 1 ); }}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://packagingyourpassion.com/phpforms/index.php?frm=3833f75bd2&randm="+ randim + ""; document.forms['frm_3833f75bd2'].imgcode_id.value =+ randim + ""; } changeAccessCodeImg(); function CheckImg(){ ci=0; var i=0; var s = document.createElement('script'); s.setAttribute('type','text/javascript'); cl_code = document.getElementById('imgcode_code'); checimg = cl_code.value; randim = document.forms['frm_3833f75bd2'].imgcode_id.value; document.documentElement.firstChild.appendChild(s); while(ci==0 && i<5) { s.setAttribute('src', "http://packagingyourpassion.com/phpforms/index.php?frm=3833f75bd2&chrandm=" + randim + "&checimg=" + checimg + ""); alert ('Image Code is checking.');i++; } if (ci == 3) { alert ('Image code Error!Please try again.'); return 1; } if (ci == 2 ) { return 0; }}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(' Name *');document.write(' ');document.write(' ');document.write('
');document.write(' Email *');document.write(' ');document.write(' ');document.write('
');document.write(' Subject *');document.write(' ');document.write(' ');document.write('
');document.write(' Message *
');document.write(' ');document.write('
');document.write(' Verify
');document.write(' ');document.write('
');document.write('
');document.write(' ');document.write(' Reload image');document.write('
');document.write(' ');document.write('
');document.write(' ');document.write('
');document.write('
');document.write('');document.write('
');document.write(' ');document.write('
');document.write('');