<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="KANEpromoladies, dedicated female promoteam for the Dutch band KANE" />
<meta name="keywords" content="dorien, pauwels, lookslikedesign, kanepromoladies, kane, promo, dinand, dennis, woesthoff, van leeuwen, den haag, rotterdam, muziek, music, nederland"  />
<meta name="robots" content="index, follow" />
<meta name="revisit-after" content="1 days" />
<meta http-equiv="content-language" content="nl" />
<meta name="author" content="Dorien Pauwels -- Lookslikedesign.com" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>KANEpromoladies.com :: dedicated female promoteam for the Dutch band KANE</title>
<!--[if ie 6]>
	<link rel="stylesheet" type="text/css" href="css/kanepromoladiesCssIE6.css" />
<![endif]-->
<link rel="stylesheet" type="text/css" href="css/kanepromoladiesCss.css"/>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
<script type="text/javascript">
vakje = "";
	function controleer(){
	alert(document.getElementById("specialLittleThing").value);
		if(checkscript()==true && emailCheck(document.getElementById('from').value)==true){
			if(checkSpam()==true){
				document.form.submit();
			}
		}
		
	}
	function checkSpam(){
		if(document.getElementById("specialLittleThing").value !== ""){
			return false;
		}else{
			return true;
		}
	}
	function checkscript() {
		for (i=0;i<4;i++) {
			box = document.forms['form'].elements[i];
			if (!box.value) {
				if(box.name =="subject"){
					vakje = "naam";
				}else if(box.name =="from"){
					vakje = "emailadres";
				}else if(box.name =="body[KANEpromoladies contactformulier]"){
					vakje = "bericht";
				}
				document.getElementById("vulin").firstChild.nodeValue = 'Gelieve uw ' + vakje + ' in te vullen!';
				document.getElementById("vulin").style.visibility = "visible";
				box.focus()
				return false;
			}
		}	
		return true;
	}

	function emailCheck (emailStr) {
			/* past de string in het naam@domein formaat? controleert of er een @ instaat*/
			var emailPat=/^(.+)@(.+)$/
			/* deze karakters mogen niet in een emailadres staan: ( ) < > @ , ; : \ " . [ ]    */
			var specialChars="\\(\\)<>@,;:\\\\\\\"\\.\\[\\]"
			/* welke karakters mogen gebruikt worden (eigenlijk welke er niet mogen gebruikt worden) */
			var validChars="\[^\\s" + specialChars + "\]"
			/* naam mag ook dit zijn: "jiminy cricket"@disney.com -- let op de quotes*/
			var quotedUser="(\"[^\"]*\")"
			/* domein mag ook uit cijfers bestaan, let op, de haakjes zijn verplicht. voorbeeld: joe@[123.124.233.4] */
			var ipDomainPat=/^\[(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\]$/
			/* The following string represents an atom (basically a series of
			   non-special characters.) */
			var atom=validChars + '+'
			/* The following string represents one word in the typical username.
			   For example, in john.doe@somewhere.com, john and doe are words.
			   Basically, a word is either an atom or quoted string. */
			var word="(" + atom + "|" + quotedUser + ")"
			// The following pattern describes the structure of the user
			var userPat=new RegExp("^" + word + "(\\." + word + ")*$")
			/* The following pattern describes the structure of a normal symbolic
			   domain, as opposed to ipDomainPat, shown above. */
			var domainPat=new RegExp("^" + atom + "(\\." + atom +")*$")
			
			
			/* Finally, let's start trying to figure out if the supplied address is
			   valid. */
			
			/* Begin with the coarse pattern to simply break up user@domain into
			   different pieces that are easy to analyze. */
			var matchArray=emailStr.match(emailPat)
			if (matchArray==null) {
			  /* Too many/few @'s or something; basically, this address doesn't
				 even fit the general mould of a valid e-mail address. */
				document.getElementById("vulin").firstChild.nodeValue = "Het emailadres is niet correct, check '@' en '.'"
				return false
			}
			var user=matchArray[1]
			var domain=matchArray[2]
			
			// See if "user" is valid 
			if (user.match(userPat)==null) {
				// user is not valid
				document.getElementById("vulin").firstChild.nodeValue = "Het gedeelte voor '@' is niet correct (emailadres)"
				return false
			}
			
			/* if the e-mail address is at an IP address (as opposed to a symbolic
			   host name) make sure the IP address is valid. */
			var IPArray=domain.match(ipDomainPat)
			if (IPArray!=null) {
				// this is an IP address
				  for (var i=1;i<=4;i++) {
					if (IPArray[i]>255) {
						document.getElementById("vulin").firstChild.nodeValue = "Ip-adres is niet correct (emailadres)"
					return false
					}
				}
				return true
			}
			
			// Domain is symbolic name
			var domainArray=domain.match(domainPat)
			if (domainArray==null) {
				document.getElementById("vulin").firstChild.nodeValue = "De domeinnaam is niet correct (emailadres)"
				return false
			}
			
			/* domain name seems valid, but now make sure that it ends in a
			   three-letter word (like com, edu, gov) or a two-letter word,
			   representing country (uk, nl), and that there's a hostname preceding 
			   the domain or country. */
			
			
			/* Now we need to break up the domain to get a count of how many atoms
			   it consists of. */
			var atomPat=new RegExp(atom,"g")
			var domArr=domain.match(atomPat)
			var len=domArr.length
			if (domArr[domArr.length-1].length<2 || 
				domArr[domArr.length-1].length>3) {
			   // the address must end in a two letter or three letter word.
			   document.getElementById("vulin").firstChild.nodeValue = "Het emailadres moet eindigen met een 2 of 3-letter woord"
			   return false
			}
			
			// Make sure there's a host name preceding the domain.
			if (len<2) {
			   var errStr="Het emailadres bevat geen hostname"
			   document.getElementById("vulin").firstChild.nodeValue = errStr
			   return false
			}
			
			// If we've gotten this far, everything's valid!
			return true;
			}
</script>
</head>
<body>
<div id="container">
	<div id="boven">
		<div id="logo"> <img src="images/logo.jpg" alt="KANEpromoladies logo" width="354" height="304" /> </div>
		<div id="menu">
			<div id="hoofdmenu">
				<ul>
					<li><a href="news.php">News</a></li>
					<li><a href="theband.php">The Band</a></li>
					<li><a href="photo.php">Photo</a></li>
					<li>Talking</li>
					<li><a href="links.php">Links</a></li>
				</ul>
			</div>
			<div id="fotomenu">
				<div class="fotoInMenu"><img src="images/photoKane.jpg" alt="de mannen" width="588" height="147" /></div>
			</div>
			<div id="submenu"> <img src="images/blokjeSubmenu.jpg" width="50" height="36" alt="pic submenu"/>
				<div id="submenuItems">
					<ul>
						<li><a href="reports.php">Reports</a></li>
						<li><a href="http://kanepromoladies.com/phpBB" target="_blank">Forum</a></li>
						<li>Contact</li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	<div id="content">
		<div class="linksContent">
			<h1>We're everywhere </h1>
			<ul>
				<li>del.icio.us -- <a href="http://del.icio.us/kanepromoladies" target="_blank">del.icio.us/KANEpromoladies</a></li>
				<li>facebook -- <a href="http://www.facebook.com/profile.php?id=743872564&ref=nf" target="_blank">facebook.com</a></li>
				<li>flickr -- <a href="http://www.flickr.com/photos/kanepromoladies/" target="_blank">flickr.com/photos/kanepromoladies</a></li>
				<li>hi5 -- <a href=" http://kanepromoladies.hi5.com" target="_blank">KANEpromoladies.hi5.com</a></li>
				<li>last.fm -- <a href="http://www.last.fm/user/kanepromoladies/" target="_blank">last.fm/user/KANEpromoladies</a></li>
				<li>myspace -- <a href="http://www.myspace.com/kanepromoladies" target="_blank">myspace.com/KANEpromoladies</a></li>
				<li>netlog -- <a href="http://www.netlog.com/KANEpromoladies" target="_blank">netlog.com/KANEpromoladies</a></li>
				<li>pownce -- <a href="http://pownce.com/KANEpromoladies/" target="_blank">pownce.com/KANEpromoladies</a></li>
				<li>twitter -- <a href="http://twitter.com/KANEpromoladies" target="_blank">twitter.com/KANEpromoladies</a></li>
			</ul>
		</div>
		<div class="middenContent">
			<h1>Talking </h1>
			<form name="form" action="formmail.php" method="post">
				<p class="invulformulier">
					<label for="subject">to: <span class="ster">*</span></label>
				</p>
				<select name="to[]">
    				<option value="KANEpromoladies@yahoo.com">Promolady Krisje&nbsp; &nbsp; </option>
					<option value="kanepromoladies.LadyElena@gmail.com">Webmaster&nbsp; &nbsp; </option>
				</select>
				<p class="invulformulier">
					<label for="subject">name: <span class="ster">*</span></label>
				</p>
				<input type="text" id="subject" name="subject" value=""/>
				<br />
				<p class="invulformulier">
					<label for="from">email: <span class="ster">*</span></label>
				</p>
				<input type="text" id="from" name="from" value=""/>
				<br />
				<p class="invulformulier">
					<label for="body">message: <span class="ster">*</span></label>
				</p>
				<textarea cols="50" rows="10" id="body" name="body[KANEpromoladies contactformulier]"></textarea>
				<br />
				<input type="text" id="specialLittleThing" value="" />
				<input type="hidden" name="redirect" value="thankyou.php" />
				<input id="button" type="button" value="Send" onclick="controleer();"/>
				<br />
				<br />
				<p class="verplicht" id="vulin">Gelieve alle vakken in te vullen</p>
			</form>
		</div>
		<div class="rechtsContent">
			<!-- ****************************************** LAST.FM ****************************************** -->
			<h1> Last.fm </h1>
			<table class="lfmWidget20070830074237" cellpadding="0" cellspacing="0" border="0" style="width:184px;">
				<tr class="lfmHead">
					<td><a title="Top albums" href="http://www.last.fm/user/kanepromoladies/charts/" target="_blank" style="display:block;overflow:hidden;height:20px;width:184px;background:url(http://cdn.last.fm/widgets/images/en/header/quilt/album_vertical_black.png) no-repeat 0 -20px;text-decoration:none;"></a></td>
				</tr>
				<tr class="lfmEmbed">
					<td><object width="184" height="270" style="float:left;" data="http://cdn.last.fm/widgets/quilt/11.swf" type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">
							<param name="movie" value="http://cdn.last.fm/widgets/quilt/11.swf" />
							<param name="flashvars" value="type=user&amp;variable=kanepromoladies&amp;file=topalbums&amp;bgColor=black&amp;theme=black&amp;lang=en" />
							<param name="bgcolor" value="#000000" />
							<param name="quality" value="high" />
							<param name="allowScriptAccess" value="sameDomain" />
							<param name="allowNetworking" value="all" />
							<embed src="http://cdn.last.fm/widgets/quilt/11.swf" flashvars="type=user&amp;variable=kanepromoladies&amp;file=topalbums&amp;bgColor=black&amp;theme=black&amp;lang=en" bgcolor="#000000" width="184" height="270" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" allowScriptAccess="sameDomain" allowNetworking="all"> </embed>
						</object></td>
				</tr>
				<tr class="lfmFoot">
					<td style="background:url(http://cdn.last.fm/widgets/images/footer_bg/black.png) repeat-x 0 0;text-align:right;"><table cellspacing="0" cellpadding="0" border="0" style="width:184px;">
							<tr>
								<td class="lfmConfig"><a href="http://www.last.fm/widgets/?url=user%2Fkanepromoladies%2Fpersonal&amp;colour=black&amp;quiltType=album&amp;orient=vertical&amp;height=small&amp;from=code&amp;widget=quilt" title="Get your own widget" target="_blank" style="display:block;overflow:hidden;width:85px;height:20px;float:right;background:url(http://cdn.last.fm/widgets/images/en/footer/black.png) no-repeat 0px -20px;text-decoration:none;"></a></td>
								<td class="lfmView" style="width:74px;"><a href="http://www.last.fm/user/kanepromoladies/" title="View kanepromoladies profile" target="_blank" style="display:block;overflow:hidden;width:74px;height:20px;background:url(http://cdn.last.fm/widgets/images/en/footer/black.png) no-repeat -85px -20px;text-decoration:none;"></a></td>
								<td class="lfmPopup"style="width:25px;"><a href="http://www.last.fm/widgets/popup/?url=user%2Fkanepromoladies%2Fpersonal&amp;colour=black&amp;quiltType=album&amp;orient=vertical&amp;height=small&amp;from=code&amp;widget=quilt&amp;resize=1" title="Load this quilt in a pop up" target="_blank" style="display:block;overflow:hidden;width:25px;height:20px;background:url(http://cdn.last.fm/widgets/images/en/footer/black.png) no-repeat -159px -20px;text-decoration:none;" onclick="window.open(this.href + '&amp;resize=0','lfm_popup','height=370,width=234,resizable=yes,scrollbars=yes'); return false;"></a></td>
							</tr>
						</table></td>
				</tr>
			</table>
			<br />
			<!-- ****************************************** TWITTER ****************************************** -->
			<div id="twitter_div">
				<h1 class="twitter-title">Twitter</h1>
				<ul id="twitter_update_list">
				</ul>
			</div>
			<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
			<script text="text/javascript" src="http://twitter.com/statuses/user_timeline/kanepromoladies.json?callback=twitterCallback2&count=3"></script>

		</div>
	</div>
	<div class="footer">
		<p class="footer">&copy; 2007 - <a href="http://www.kanepromoladies.com">KANEpromoladies.com</a> - creation &amp; design: <a href="http://www.lookslikedesign.com">lookslikedesign.com</a> - Dorien Pauwels</p>
	</div>
</div>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2527453-3";
urchinTracker();
</script>
</body>
</html>
<?php  
 define("_BBC_PAGE_NAME", "contact");  
 define("_BBCLONE_DIR", "bbclone/");  
 define("COUNTER", _BBCLONE_DIR."mark_page.php");  
 if (is_readable(COUNTER)) include_once(COUNTER);  
 ?> 
