function antiSpam(addy,domain) {
 locationstring = "mailto:" + addy + "@" + domain;
 window.location = locationstring;
 }

function rotateWhy() {
 // TO ADD NEW ENTRIES, JUST FOLLOW THIS FORMAT
 var words = Array(
 "Maximize ROI & Profit",
 "Increase Targeted Search Traffic",
 "Scalable Results",
 "Expert Account Management",
 "Lower Marketing Costs",
 "More Traffic & Qualified Leads",
 "Over 10 years of search marketing experience"
 //"New Entry",
 //"New Entry", (remember to list the commas in the end of the line, don't list comma on last entry
  )
 var pick = Math.round(Math.random()*(words.length-1));
 document.getElementById('rotateWhy').innerHTML = words[pick];
 setTimeout(rotateWhy,5000);
}

function rotateTestimonial() {
 //NEW ENTRIES HERE IS AS FOLLOWS
 var words = Array(
 "eMarketed did an outstanding job of introducing me to the world of Internet advertising. I was provided with various options, as well as a candid assessment of what the eMarketed team thought I should do. I was told how the process would work, and everything that was promised was delivered, without any hitches and within my budget. I really would recommend eMarketed to anyone looking for web design and Internet marketing assistance.",
 "My business is creating TV spots and trailers for motion pictures. In the past, I was constantly putting together new &quot;demo reels&quot; for prospective clients. Now, I just point prospects to my site and it does the rest. The website's design and message are right on target, and clients have told me how much they like it. For anyone who needs internet-related design and development work, eMarketed is the only name I'd consider giving as a referral.",
 "Having eMarketed create my website was the single greatest investment I've made for my business. Before speaking with them, I had some idea of how I wanted my website to look and function, but they far exceeded my expectations.",
 "We knew we needed a more professional looking site, but we weren't sure what it should look like. eMarketed's quick response, professionalism and creativity gave us the site we were hoping for.",
 "Being in a business as competitive as ours [limousine services], it is essential that we get maximum exposure on the web. We're grateful to eMarketed for being our personal &quot;Internet Optimizer/Advertising Agent.&quot;",
 "I'd already spent a lot of money on my website and it wasn't getting any traffic. I was overwhelmed and intimidated before I turned to eMarketed for help. They analyzed my site's traffic patterns and provided excellent suggestions for how to increase the visibility of my website. I now receive inquiries from clients all over the country. My eMarketed consultant was a pleasure to work with.",
 "Working with eMarketed was a flawless experience. Their team put my mind at ease, and all I had to focus on was how well things were turning out with my site.",
 "eMarketed created an exceptional website for our health care business. Their attentiveness, direction and follow-up were most impressive. Our site is &quot;top drawer&quot; quality and easy to navigate. Of greater importance to us is the exposure they created for our site online, which is so critical to the success of any business.",
 "Thanks to an engaging and user-friendly site, seniors were able to get the help and support they needed. eMarketed's staff members were very professional and helpful in the design process. They continue to be helpful, providing us with monthly updates. Our organization wouldn't be where it is today without the outreach capabilities our website provides.",
 "The eMarketed team is very talented and patient, available whenever you need them. My website is beautifully designed, which gives me a very professional appearance to all my clients.",
 "Just a quick note to thank you for your speed and professionalism in getting my website up and running. After dealing with several large ISP's in the past who took forever to address my needs, eMarketed was a dream by comparison. Fast. Courteous. Knowledgeable. You guys are the best!",
 "eMarketed helped us become established on the internet very quickly. They provide a very honest, prompt, personable, and professional service. They are a pleasure to work with and work well with in your budget to help you achieve your business goals. I highly recommend eMarketed to anyone considering their services.",
 "I would look no further than eMarketed when preparing a new site. My site was drab, boring and outdated and just from speaking with me, they gave it a facelift and everyone that I send to it, loves it. SHHH! No other realtors are allowed to know about eMarketed! They are my secret webpage designer and marketing weapon.",
 "We were extremely pleased with the design concept and implementation of the shopping cart website for our Nikki Chu product line of bags and accessories. The eMarketed team listened to our needs and desires for the new site and helped us create exactly what we wanted. The site layout is elegant and clean and its functionality has made it easier for our customers to view our products and make purchases through the online store that eMarketed created for us.",
 "Choosing eMarketed was one of the best things we ever did for Divine Forces Radio.  Matt really personalized the services to fit my needs and we have been working together and evolving the website for the past four years.  We use eMarketed's web hosting services and whenever I have needed changes or updates immediatley, its been convenient and effortless with their team's help.  As Divine Forces Radio continues to evolve into a nationally syndicated show, it helps me sleep well at night knowing that Matt and the team at eMarketed can handle our growth with the consciousness and attention to detail that I have grown accustomed to.",
 "It has been a privilege working with Matt and the staff of mmarketed. We were looking to get our site more &quot;up to date,&quot; and emarketed came to us highly recommended. From our first meeting until now, the staff is very professional, prompt, and full of ideas on how to improve your website and search engine optimization."
 //"New testimonial quote",
 //"New testimonial quote", (remove comma if it is last entry)
  );
 var owner = Array(
  "Michael Heath",
  "Bill Riley",
  "Josh Esposito",
  "Ken Miller",
  "Vic Bedrosian",
  "Jennifer R. Levin, PhD",
  "Roger Kupelian",
  "Derik Brian",
  "Carolyn Young",
  "Robin Van Baalbergen",
  "Neil Fletcher",
  "Dr. Tim Roham",
  "Lynn Potts",
  "Nikki Chu",
  "Fidel Rodriguez",
  "Chris Gutierrez"
  //"New owner",
  //"New owner", (make sure owner is in the SAME position as their corresponding words.
  //EXAMPLE: The 3rd person from the top is connected to the 3rd word.
  //If you remove an entry, make sure to remove both the owner, and word so all other preceding entry doesn't lose it's place.
  );
 var pick = Math.round(Math.random()*(words.length-1));
 var newhtml = "<div class=\"rtHeader\">&nbsp;</div>";
 newhtml += "<p class=\"rtContent\">" + words[pick] + "</p>";
 newhtml += "<p class=\"rtFooter\"> &mdash; " + owner[pick] + "</p>";
 document.getElementById('rotateTestimonial').innerHTML = newhtml;
 setTimeout(rotateTestimonial,7500);
}

function iPopup(val,top,left) {
	document.getElementById('iPopup').innerHTML = '<div style="width:300px; height:300px;left:'+left+';top:'+top+';background:#cccccc;">'+val+'</div>';
}
function iPopupClose() {
	document.getElementById('iPopup').innerHTML = '';
}
function ccheck(){
	str = document.cform.cmail.value;
	if(document.cform.cname.value != ""){
	if(document.cform.cphone.value != ""){
	if(str.indexOf('@') != -1 && str.indexOf('.') != -1) {
	if(document.cform.cweb.value != ""){
	if(document.cform.csupp.value != 0){
	if(document.cform.ctype.value != 0){
		document.cform.submit();	
	} else alert("Please select Type of Request!");
	} else alert("Please select Department!");
	} else alert("Please enter your web address!");
	} else alert("Wrong Email Address!");
	} else alert("Please enter your Phone number!");
	} else alert("Please enter your Name!");
}