<?xml version="1.0" encoding="iso-8859-1" ?>
<rss version="2.0">
<channel>
	<title>HTMLHelp Forums Programming Feed</title>
	<description>Feed from the Programming sub-forums on HTMLHelp.com</description>
	<link>http://forums.htmlhelp.com/index.php</link>
	<pubDate>Fri, 20 Nov 2009 22:09:59 -0500</pubDate>
	<ttl>5</ttl>
	<item>
		<title>Display entities as unicode</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=10263</link>
		<description><![CDATA[I have a very simple Javascript that takes a character "X" and concatenates "& #x1234;" after it (this is only an example).<br />I then want to display  "X& #x1234;" in a box and "Xz", where "z" is the translated entity in the second box. How do I do it.<br /><br />inputChar = inputString.charAt(i);<br />outputChar1 = inputChar.concat("& #x1234;");<br />I now need the step to place results into outputChar2<br /><br />NOTE: space has been added after the & to keep the translation from happening here.]]></description>
		<pubDate>Thu, 19 Nov 2009 12:26:31 -0500</pubDate>
		<guid isPermaLink="false">10263</guid>
	</item>
	<item>
		<title>ASP Form Mailto</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=10249</link>
		<description><![CDATA[I have a quote request form that is on these viewitem pages...<br /><br /><a href="http://www.aspenequipment.com/catalog/store/comersus_viewItem.asp?idProduct=224" target="_blank" rel="nofollow"><a href="http://www.aspenequipment.com/catalog/stor...p?idProduct=224" target="_blank" rel="nofollow">http://www.aspenequipment.com/catalog/stor...p?idProduct=224</a></a><br /><br />If you click on "Request a Quote"  you will be taken to the bottom of the page where a quote request is.  This is partially auto filled with that particular item's information. <br /><br />My problem is that when you click "Submit Quote Request", you get a blank page and nothing get's sent through.  It's been half an hour since I tested it. Here is the code for the form action.  What I would really like this to do (and it may not be possible) is for it to process the email, and as soon as that has been processed let them know that the email was sent and then redirect them to the previous page after 3? 5? seconds.  Some time frame.  At the very least let them know that the email has been sent.  Thanks in advance.<br /> <br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><br />&#60;%<br />&nbsp;&nbsp;&nbsp;&nbsp;if Request.Querystring&#40;&#34;isSubmitted&#34;&#41; = &#34;yes&#34; then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dim name, email, phone, idesc, unitnum, comments<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dim objCDO<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name = Request.Querystring&#40;&#34;name&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;email = Request.Querystring&#40;&#34;email&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;phone = Request.Querystring&#40;&#34;phone&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;idesc = Request.Querystring&#40;&#34;itemdescription&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unitnum = Request.Querystring&#40;&#34;unitnumber&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;comments = Request.Querystring&#40;&#34;comments&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set objCDO = Server.CreateObject&#40;&#34;CDONTS.NewMail&#34;&#41;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;objCDO.From = &#34;corinth@enfused.com&#34; 'That's me &#58;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;objCDO.To = &#34;equipment@aspeneq.com&#34;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;objCDO.Cc = &#34;tfoster@aspeneq.com, marketing@aspeneq.com&#34;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;objCDO.Subject = &#34;Online Equipment Quote Request&#34;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;objCDO.Body = &#34;Name&#58; &#34; & name &_<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#34;Email&#58; &#34; & email &_<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#34;Phone&#58; &#34; & phone &_<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#34;Description&#58; &#34; & idesc &_<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#34;Unit number&#58; &#34; & unitnum &_<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#34;Comments&#58; &#34; & comments<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;objCDO.BodyFormat = 1<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;objCDO.MailFormat = 1<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;objCDO.Send<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ConfirmMsg = &#34;Your request was submitted.&#34;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;end if<br />%&#62;<br /><!--c2--></div><!--ec2-->]]></description>
		<pubDate>Wed, 18 Nov 2009 16:35:42 -0500</pubDate>
		<guid isPermaLink="false">10249</guid>
	</item>
	<item>
		<title>How do i load changing text into a body of text</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=10247</link>
		<description><![CDATA[Alright i'm trying to make an html email for all my email subscribers. In the heading i want it to display<br /><br />"Hello, (Thier Username here)"<br /><br />Say i have all their usernames saved in a .txt file on the server. Is there a way i can make one email that just loads their names in?<br /><br />i would also like to show how long they have been a member. Could i do the same technique to load their join date into the email. <br /><br />Thanks for anyone who can spend time to help me. I'm pretty new to scripting but i can learn fast.]]></description>
		<pubDate>Wed, 18 Nov 2009 14:51:04 -0500</pubDate>
		<guid isPermaLink="false">10247</guid>
	</item>
	<item>
		<title>Delete Record server behaviour</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=10199</link>
		<description><![CDATA[Hi all,<br /><br />I am using Dreaweaver 8 and I am running a PHP MySQL database. How can I add a link or a button which deletes the corresponding record from the database. The Delete Record function does not seem to be working. Many thanks in advance]]></description>
		<pubDate>Fri, 13 Nov 2009 07:16:13 -0500</pubDate>
		<guid isPermaLink="false">10199</guid>
	</item>
	<item>
		<title>JavaScript Submitting with onclick</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=10192</link>
		<description><![CDATA[I'm working on writing something that will preform a Javascript 'check' on all data submitted and then posting it all as $_POST data.  Right now the submit button doesn't seem to be working, it will fire the java-script, but cannot seem to move past that point.<br /><br /><br /><br />&lt;script type="text/Javascript"&gt;<br />		function myfunction(email, password)<br />		{<br />			if(email == ""){<br />				alert("Must fill in email field.");<br />				return false;<br />			}<br />			else if(password == "")<br />			{<br />				alert("Must fill in password field.");<br />				return false;<br />			}<br />			else<br />				return true;<br />		}<br />		&lt;/script&gt;<br />.<br />.<br />.<br />echo '&lt;html&gt;<br />		&lt;form method="POST" id="login" name="login" action="login.php"&gt;<br />			&lt;p&gt;Email: &lt;input type="text" name="email" size="25"&gt;&lt;/p&gt;<br />			&lt;p&gt;Password: &lt;input type="password" name="password" size="25"&gt;&lt;/p&gt;<br />			<b>&lt;p&gt;&lt;input type="button" value="Submit"  name="Button 1" onclick="if(myfunction(login.email.value, login.password.value)==true){login.email.submit();login.password.submit();}"&gt;</b><br />			&lt;input type="reset" value="reset" onclick="return confirm(&#092;'Are you sure you want to reset the form?&#092;')" name="Button 2"&gt;&lt;/p&gt;<br />		&lt;/form&gt;<br />		&lt;/html&gt;';]]></description>
		<pubDate>Wed, 11 Nov 2009 17:59:26 -0500</pubDate>
		<guid isPermaLink="false">10192</guid>
	</item>
	<item>
		<title>Comersus (ASP Shopping Cart Program)</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=10189</link>
		<description><![CDATA[So our site needed an online inventory, not really a shopping cart, but  I was able to customize Comersus to do exactly what we needed.  However, I have added in subcategories and would like the option on this page to view all the items within the parent category.<br /><br />(Parent Category 71 = Cranes) <a href="http://www.aspenequipment.com/catalog/store/comersus_listOneCategory.asp?idCategory=71" target="_blank" rel="nofollow"><a href="http://www.aspenequipment.com/catalog/stor...p?idCategory=71" target="_blank" rel="nofollow">http://www.aspenequipment.com/catalog/stor...p?idCategory=71</a></a> <br /><br />(Parent Category 70 = Railroad) <a href="http://www.aspenequipment.com/catalog/store/comersus_listOneCategory.asp?idCategory=70" target="_blank" rel="nofollow"><a href="http://www.aspenequipment.com/catalog/stor...p?idCategory=70" target="_blank" rel="nofollow">http://www.aspenequipment.com/catalog/stor...p?idCategory=70</a></a><br /><br />I can not attach the three asp pages I think are involved, the forum won't let me, so I changed their extension to html so you can view the code.  I know it's probably just a snippet of if then statements, but I can't for the life of me figure it out. I appreciate any help you can provide.<br /><br />Here's the main site page<br /><br /><a href="http://www.aspenequipment.com/catalog/store/comersus_index.asp" target="_blank" rel="nofollow"><a href="http://www.aspenequipment.com/catalog/stor...ersus_index.asp" target="_blank" rel="nofollow">http://www.aspenequipment.com/catalog/stor...ersus_index.asp</a></a><br /><br />EDIT:<br /><br />I did question the comersus technical forum and this was their answer...I don't have products in multiple categories so that is not an issue.<br /><br />"Sure but its not an easy modification: you have to iterate all subcategories, then for each subcategory you have to retrieve items. Consider that one item may belong to several categories, so you may want to check for duplicates also."<br /><br />I don't know much about how asp works, so this is getting a little beyond me.]]></description>
		<pubDate>Wed, 11 Nov 2009 12:54:24 -0500</pubDate>
		<guid isPermaLink="false">10189</guid>
	</item>
	<item>
		<title>What is best way to show Search result pages</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=10175</link>
		<description><![CDATA[<br />Hi,<br /><br />I am developing a social-networking based website.<br /><br />I am now in ot creating search page. I dont know how to show result pages. I have following queries. I am using MYSQL as database<br /><br />1) I see many of the website show there search result pages in GET method. Why?<br /><br />2) Suppose any search fetches 100 results and in page I can only show maximum upto 10 results. So what best algo should I use to show 10 pages?<br />I know Mysql provides limit clause.<br />-- Should I maintain the results in session through array variable<br /><br />There are so many questions. I done know how ro ask<br /><br />Please help me with paging technique, if there are any.<br /><br /><br />Thanks<br /><br />Venkat]]></description>
		<pubDate>Sun, 08 Nov 2009 05:43:45 -0500</pubDate>
		<guid isPermaLink="false">10175</guid>
	</item>
	<item>
		<title>Just learning PHP/MySQl</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=10172</link>
		<description><![CDATA[I know that MySQL is the server side database software, but I at a lost on how to start. The control panel is not easy to follow. I heard of a program call MyPHPadmin, but am again at a lost, is this a client-side application to easy control your mysql software on my web hosting?<br /><br />I just gotten PHP/MySQL for Dummies (&lt;---- not saying that I am) but I think I need more help understand MySQL and it's control then I do with PHP, which is some what easier for me to follow.]]></description>
		<pubDate>Sat, 07 Nov 2009 18:36:38 -0500</pubDate>
		<guid isPermaLink="false">10172</guid>
	</item>
	<item>
		<title>changing border color</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=10143</link>
		<description><![CDATA[I have built a control to change color dynamically.<br />var color;// a 4 digit hex value<br />function setTabLColor(){<br />   var clr = document.getElementById("mytr");<br />   var str = color.toString(16);<br />   clr.style.borderColor = str;// Invalid property value<br />   clr.style.borderColor = "#" + str;;// Invalid property value<br />   clr.style.borderColor = "#ffee00";//or ANY explicit value WORKS like "Blue"<br />   clr.style = "border:solid 10px #" + str;// no effect<br />}<br />I am using IE 8. Have not tried this code in Opera or any other browser.<br />Have tried MANY other code variations including currentStyle attributes<br />Anybody tried this??]]></description>
		<pubDate>Wed, 04 Nov 2009 19:21:47 -0500</pubDate>
		<guid isPermaLink="false">10143</guid>
	</item>
	<item>
		<title>html: open image link in small page. help!</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=10134</link>
		<description><![CDATA[hello<br />i'm trying to make a website for my art.<br /><br />is it possible to do stuff like this:<br /><br /><a href="http://www.andrewhem.com/" target="_blank" rel="nofollow"><a href="http://www.andrewhem.com/" target="_blank" rel="nofollow">http://www.andrewhem.com/</a></a><br /><a href="http://misschristinewu.com/gallery/" target="_blank" rel="nofollow"><a href="http://misschristinewu.com/gallery/" target="_blank" rel="nofollow">http://misschristinewu.com/gallery/</a></a><br /><br /><br />with html????<br /><br /><br />please help]]></description>
		<pubDate>Tue, 03 Nov 2009 22:15:14 -0500</pubDate>
		<guid isPermaLink="false">10134</guid>
	</item>
	<item>
		<title><![CDATA[can we show part of an image  in &lt;img&gt; HTML]]></title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=10128</link>
		<description><![CDATA[Hi,<br /><br />I want to ask can we show part of an image  in &lt;img&gt; tag<br /><br />Suppose if the image  is of 300x400 size, but I only want to show the vropped 100x100 part section that image (Not shrinking the image). Can we do this.<br /><br /><br />Please tell me<br /><br /><br />Venkat<br /><br /><br />]]></description>
		<pubDate>Tue, 03 Nov 2009 07:21:29 -0500</pubDate>
		<guid isPermaLink="false">10128</guid>
	</item>
	<item>
		<title>One-time download upon purchase.</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=10112</link>
		<description><![CDATA[I am going to start selling vector illustration packs on my website because of the overwhelming demand for them. I have decided to use paypal to process the transaction, but what i need to do is figure out how to get the actual .zip or .rar file containing the .AI(illustrator) file and the pdf containing terms of use to the customer upon transaction completion. Paypal has an option to forward the customer to a certain link upon successful completion, and i was wondering if it would be possible to generate a script that would allow someone forwarded to a link to be able to download the file once, and only once, to prevent that person from giving that download link to everyone.<br /><br />Any help on this subject, or maybe an easier method to accomplish what im trying to do would be much appreciated <img src="http://forums.htmlhelp.com/style_emoticons/default/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />]]></description>
		<pubDate>Mon, 02 Nov 2009 14:03:19 -0500</pubDate>
		<guid isPermaLink="false">10112</guid>
	</item>
	<item>
		<title>Refresh help</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=10079</link>
		<description><![CDATA[Hi there guys! I have a new website up and running here <a href="http://chong-clothing.com" target="_blank" rel="nofollow">Chong Clothing</a>.<br /><br />As you can see at the top there is a quote from Tommy Chong. Basically I want that quote to change everytime someone refreshes the page or when someone enters the page. I want the quote to change at random.<br /><br />Is there a way to do this?<br /><br />Thank you so much,<br /><br />Sunny]]></description>
		<pubDate>Fri, 30 Oct 2009 10:55:54 -0400</pubDate>
		<guid isPermaLink="false">10079</guid>
	</item>
	<item>
		<title>Help with DOM</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=10051</link>
		<description><![CDATA[I've got my DOM working and reading/parsing an XML, but in my XML, certain nodes are repeated, eg.:<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;a&#62;<br />&nbsp;&nbsp;&#60;b&#62;Something&#60;/b&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;c&#62;Something<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;d&#62;Info&#60;/d&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;d&#62;Info&#60;/d&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;/c&#62;<br />&#60;/a&#62;<!--c2--></div><!--ec2--><br /><br />I have a section of JavaScript set out to do this<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--> case Node.ELEMENT_NODE&#58; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String elementName = currnode.getNodeName&#40;&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;elementName.equals&#40;&#34;b&#34;&#41;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;out.println&#40;&#34;&#60;p&#62;&#60;u&#62;b&#58; &#60;/u&#62;&#34;&#41;;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;elementName.equals&#40;&#34;d&#34;&#41;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;out.print&#40;&#34;&#60;p&#62;d&#58; &#34;&#41;;<br /><!--c2--></div><!--ec2--><br /><br />With this code, when it reaches certain parts of my XML it'll print:<br /><br />d: Info<br />d: Info<br /><br />But I'd like it to be d: Info, Info. Is that possible?<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><br />case Node.TEXT_NODE&#58; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String text = currnode.getNodeValue&#40;&#41;.trim&#40;&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String textName = currnode.getNodeName&#40;&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;text.length&#40;&#41; &#62; 0&#41; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;out.println&#40;text&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><!--c2--></div><!--ec2--><br />The above code prints the actual text.]]></description>
		<pubDate>Mon, 26 Oct 2009 01:08:36 -0400</pubDate>
		<guid isPermaLink="false">10051</guid>
	</item>
	<item>
		<title>Best Practices for User Input (stop sql injection, etc.)</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=10044</link>
		<description><![CDATA[I'm just starting with MySQL (started with PHP not too long ago).  I wanted to get the opinions from people who "know what they are doing" when it comes to this stuff (eg people unlike myself).<br /><br />I plan on making a code-based site, so I want people to be able to post basic code examples, and I want live anchor tags (if that makes sense).  In short, what is generally good to allow and disallow?  What characters should just shut the system down and refuse entry?  What characters are generally acceptable?<br /><br />For example a MSDN site somewhere suggesting disallowing the the <u>semi-colon</u>, <u>double-dash</u>, <u>html-brackets</u>, etc..<br /><br />Right now I have this sloppy mess for the actual message that would be stored (first try at it, so don't laugh)java script:emoticon(':(',%20'smid_2')<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->$message = str_replace&#40;&#34;;&#34;, &#34;; &#34;, $message&#41;;<br />$message = str_replace&#40;&#34;-&#34;, &#34;– &#34;, $message&#41;;<br />$message = str_replace&#40;&#34;/&#34;, &#34;&#092;/&#34;, $message&#41;;<br />$message = str_replace&#40;&#34;&#092;&#34;&#34;, &#34;&#34; &#34;, $message&#41;;<br />$message = str_replace&#40;&#34;'&#34;, &#34;' &#34;, $message&#41;;<br />$message = str_replace&#40;&#34;}&#34;, &#34;} &#34;, $message&#41;;<br />$message = str_replace&#40;&#34;{&#34;, &#34;{ &#34;, $message&#41;;<br />$message = str_replace&#40;&#34;&#93;&#34;, &#34;&#93; &#34;, $message&#41;;<br />$message = str_replace&#40;&#34;&#91;&#34;, &#34;&#91; &#34;, $message&#41;;<br />$message = str_replace&#40;&#34;&#092;&#092;&#34;, &#34;&#092; &#34;, $message&#41;;<br />$message = str_replace&#40;&#34;?&#34;, &#34;? &#34;, $message&#41;;<br />$message = str_replace&#40;&#34;@&#34;, &#34;@ &#34;, $message&#41;;<br />$message = str_replace&#40;&#34;*&#34;, &#34;* &#34;, $message&#41;;<br />$message = str_replace&#40;&#34;$&#34;, &#34;$ &#34;, $message&#41;;<br />$message = str_replace&#40;&#34;!&#34;, &#34;! &#34;, $message&#41;;<!--c2--></div><!--ec2--><br /><br />Sorry for such a broad question, but in general, what should I trash, and what do I need?  Or better, what are the top 5 things to look for (protect against)?  Thanks!<br /><br />-Stubbs<br /><br />&lt;edit&gt;I just realized that none of this will show up.  I hope you guys get the idea&lt;/edit&gt;]]></description>
		<pubDate>Sat, 24 Oct 2009 22:28:32 -0400</pubDate>
		<guid isPermaLink="false">10044</guid>
	</item>
	<item>
		<title>Whats wrong in this simple javascript</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=10040</link>
		<description><![CDATA[Hello friends,<br /><br />Please explain what wrong I am doing.  I dont know why javascript is behaving this way.  There is two html select box  for 'Age From'  and 'Age To'.<br />I am putting the options (value & text) into it through javascript i.e. value from 18 to 74   in both the select boxes.<br /><br />But I am not getting the desired effect, The first box (Age from) is found empty at the end of the script.     Flaw is happening like this first 'Age From' select box is filled with options 18-74, then when filling select box 'Age To' one by one the select box' Age-From' also get emptied one by one. Hence in the end only second select box 'Age to' is filled while  select box 'Age Box' remains empty.<br /><br />I know I can comeup with different ways in order to get the result, but I am w ondering  what went wrong in the code.<br />Here is the code. Please copy, and run the program.<br /><br /><br />Thanks<br /><br />Venkat<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><br /><br />&#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http&#58;//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#62;<br />&#60;html xmlns=&#34;http&#58;//www.w3.org/1999/xhtml&#34;&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;head&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=iso-8859-1&#34; /&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;title&#62;Untitled Document&#60;/title&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;script language=&#34;javascript&#34;&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;window.onload = fun_InitialConstructions;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var AgeSelection= new Array&#40;&#41;;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function fun_InsertValueinAgeArray&#40;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var i=0;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var a=18<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&#40;i=0;i&#60;57;i++&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&#40;a&#60;76&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var opt_Age=new Option&#40;a, a&#41;;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AgeSelection&#91;i&#93;=opt_Age;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a++;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function fun_InsertValueAgeSelectElements&#40;elementId&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var select_AgePurposeSrc=document.getElementById&#40;elementId&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var arrayLength=AgeSelection.length;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i=0;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for &#40;i=0;i&#60;arrayLength;i++&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;select_AgePurposeSrc.options&#91;i&#93;=AgeSelection&#91;i&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function fun_InitialConstructions&#40;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fun_InsertValueinAgeArray&#40;&#41;;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fun_InsertValueAgeSelectElements&#40;&#34;select_AgeFrom&#34;&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fun_InsertValueAgeSelectElements&#40;&#34;select_AgeTo&#34;&#41;;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;/script&#62;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;/head&#62;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;body&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Age From&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;select name=&#34;select_AgeFrom&#34; id=&#34;select_AgeFrom&#34;&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;/select&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;---&nbsp;&nbsp;Age to<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;select name=&#34;select_AgeTo&#34; id=&#34;select_AgeTo&#34;&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;/select&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;/body&#62;<br />&#60;/html&#62;<br /><br /><!--c2--></div><!--ec2-->]]></description>
		<pubDate>Sat, 24 Oct 2009 05:22:09 -0400</pubDate>
		<guid isPermaLink="false">10040</guid>
	</item>
	<item>
		<title>Webpage help...</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=10032</link>
		<description><![CDATA[hello all,<br /><br />this is a 100% muck-around page that is not going to be put online.... <img src="http://forums.htmlhelp.com/style_emoticons/default/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> <br /><br />just for general knowledge sakes... why doesnt this script work? <img src="http://forums.htmlhelp.com/style_emoticons/default/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> <br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;html&#62;<br /><br />&#60;HEAD&#62;<br />&lt;script language=&#34;JavaScript&#34;&#62;<br />function text&#40;&#41;<br />{<br />setTimeout&#40;1000&#41;;<br />document.write&#40;&#34;&#60;h1 style='text-align&#58; center'&#62;&#60;a href='http&#58;//download.imgburn.com/SetupImgBurn_2.5.0.0.exe'&#62;&#60;/a&#62;&#60;/h1&#62;&#34;&#41;;<br />}<br />&#60;/SCRIPT&#62;<br />&#60;/HEAD&#62;<br /><br />&#60;BODY&#62;<br /><br />&#60;h2 style=&#34;text-align&#58; center&#34;&#62;Redirecting to external mirror...&#60;/h2&#62;<br />&#60;h3 style=&#34;text-align&#58; center&#34;&#62;Downloading...&#60;/h3&#62;<br />&#60;div onload=&#34;text&#40;&#41;&#34;&#62;&#60;/div&#62;<br /><br />&#60;/body&#62;<br /><br />&#60;/html&#62;<!--c2--></div><!--ec2--><br /><br />I want it to load up with the text "Redirecting to external mirror..." and "Downloading..." and then I want it to wait 1 second and then display "<a href="http://download.imgburn.com/SetupImgBurn_2.5.0.0.exe" target="_blank" rel="nofollow"><a href="http://download.imgburn.com/SetupImgBurn_2.5.0.0.exe" target="_blank" rel="nofollow">http://download.imgburn.com/SetupImgBurn_2.5.0.0.exe</a></a>" as a link...(ImgBurn is just an example im using.......!!)<br /><br />Im guessing ive totally stuffed the div element and its probs not even neccessary <img src="http://forums.htmlhelp.com/style_emoticons/default/tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /><br /><br /><br /><br />thanks for future help,<br /><br />--<br />Xthlon]]></description>
		<pubDate>Fri, 23 Oct 2009 04:50:36 -0400</pubDate>
		<guid isPermaLink="false">10032</guid>
	</item>
	<item>
		<title>onclick event to change an image to text</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=10028</link>
		<description><![CDATA[Hi all,<br /><br />I'm very inexperienced with Javascript, but want to use the onclick event to change an image to text. I'm working on a directory type website and want users to have to click on the image of a telephone in order to reveal the telephone number they are looking for. how do i do this?<br />Also is there a way of tracking how many clicks each person gets?<br />I'd really appreciate any help you guys can give me on this]]></description>
		<pubDate>Thu, 22 Oct 2009 10:52:34 -0400</pubDate>
		<guid isPermaLink="false">10028</guid>
	</item>
	<item>
		<title>MySQL-related questions</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=10027</link>
		<description><![CDATA[I'm currently using a free database for my phpBB forum and it's usually very slow or sometimes doesn't even load the pages at all... I'm assuming this is entirely the fault of the unreliable free database provider. Anyhow, I want to enable MySQL here since I assume that would be much better. Can I pay with an unverified Paypal account? Also, I don't know how to change the MySQL database that is being used on phpBB. I asked on the phpBB forum, but most of them didn't seem to comprehend my question... However, someone there said all I had to do was change the info in the config.php file. I tried this with a different free database, but it didn't work at all. Does anyone know anything about that?]]></description>
		<pubDate>Thu, 22 Oct 2009 08:39:26 -0400</pubDate>
		<guid isPermaLink="false">10027</guid>
	</item>
	<item>
		<title>Cookie help and function help</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=10017</link>
		<description><![CDATA[Hi I am trying to use a cookie to determine whether my site will use pictures co far I have that code. I want the code to set the cookie value to 1 and then when the site loads to look and see if the cookie value is 1 and if it is to run the function stopLeaves(d) but if it not 1 I want it to do nothing. I also need the startleaves function to "delete" the cookie when it is started. I am not sure what the problem is with the code so I have no clue where to start looking so any help is appreciated<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->function get_cookie &#40; 1 &#41;<br />{<br />&nbsp;&nbsp;var results = document.cookie.match &#40;cookie_name + '=1' &#41;;<br /><br />&nbsp;&nbsp;if &#40; 1 &#41;{<br />&nbsp;&nbsp; stopleaves&#40;d&#41;}<br />}<br /><br />function stopLeaves&#40;d&#41; {<br />var all = d.getElementsByTagName&#40;'*'&#41;;<br />var images = &#91;&#93;;<br />for &#40;var a=0; a&#60;all.length; a++&#41; {<br />if &#40;all&#91;a&#93;.tagName == 'IMG'&#41;<br />images.push&#40;all&#91;a&#93;&#41;;<br />mkcookie&#40;&#41;<br />}<br />for &#40;var i=0; i&#60;images.length; i++&#41; {<br />images&#91;i&#93;.parentNode.removeChild&#40;images&#91;i&#93;&#41;;<br />}<br />} <br /><br />function startleaf&#40;&#41;<br />{<br />del_cookie&#40;1&#41;<br />location.reload&#40;&#41;;<br />}<br /><br /><br />function mkcookie&#40;&#41;<br />{<br />set.document.cookie = &#34;1&#34;&#41;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />}<br /><br /><br />function del_cookie&#40;1&#41; {<br />document.cookie = name +<br />'=; expires=Thu, 01-Jan-70 00&#58;00&#58;01 GMT;';<br />} <!--c2--></div><!--ec2-->]]></description>
		<pubDate>Wed, 21 Oct 2009 01:05:28 -0400</pubDate>
		<guid isPermaLink="false">10017</guid>
	</item>
	<item>
		<title>Fatal error: Call to undefined method?</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=10004</link>
		<description><![CDATA[<b>Fatal error:</b> Call to undefined method skin_ahreputation_7::member_location() in <b>/home/sever/public_html/ipb/sources/components_public/reputation.php</b> on line <b>1628</b><br /><br />Hello, I was hoping someone might be able to help me with something. I have installed a reputation mod into my forum and all is working well except this 1 error that occurs after you add reputation or check the reputation history.<br /><br />Sadly the people that made the mod no longer support it, however it <b>does</b> work and their build is complete etc.<br /><br />The area of code the error points to is this:<br /><br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec--><br />//-----------------------------------------<br />// Oh, no, not anonymous again!<br />//-----------------------------------------<br />if ($row['vis'] != 0 or $this-&gt;ipsclass-&gt;member['g_access_cp'])<br />{<br />$author['member_posts']    = $this-&gt;ipsclass-&gt;compiled_templates['skin_ahreputation']-&gt;members_posts( $this-&gt;ipsclass-&gt;do_number_format( $row['posts'] ) );<br /><br />$author['avatar']          = $this-&gt;ipsclass-&gt;get_avatar( $row['avatar_location'], $this-&gt;ipsclass-&gt;member['view_avs'], $row['avatar_size'], $row['avatar_type'] );<br />                   <br />$author['member_joined']   = $this-&gt;ipsclass-&gt;compiled_templates[ 'skin_topic' ]-&gt;member_joined( $this-&gt;ipsclass-&gt;get_date( $row['joined'], 'JOINED' ) );<br />$author['member_group']    = $this-&gt;ipsclass-&gt;compiled_templates[ 'skin_ahreputation' ]-&gt;member_group( $group_name );<br />$author['member_number']   = $this-&gt;ipsclass-&gt;compiled_templates[ 'skin_ahreputation' ]-&gt;member_number( $this-&gt;ipsclass-&gt;do_number_format($row['id']) );<br />$author['profile_icon']    = $this-&gt;ipsclass-&gt;compiled_templates[ 'skin_topic' ]-&gt;member_icon_profile( $row['id'] );<br />$author['message_icon']    = $this-&gt;ipsclass-&gt;compiled_templates[ 'skin_topic' ]-&gt;member_icon_msg( $row['id'] );<br /><b>Line 1628 &gt;</b> $author<!--coloro:#6666CC--><span style="color:#6666CC"><!--/coloro-->[<!--colorc--></span><!--/colorc--><!--coloro:#CC0000--><span style="color:#CC0000"><!--/coloro-->'member_location'<!--colorc--></span><!--/colorc--><!--coloro:#6666CC--><span style="color:#6666CC"><!--/coloro-->] =<!--colorc--></span><!--/colorc--> $row<!--coloro:#6666CC--><span style="color:#6666CC"><!--/coloro-->[<!--colorc--></span><!--/colorc--><!--coloro:#CC0000--><span style="color:#CC0000"><!--/coloro-->'location'<!--colorc--></span><!--/colorc--><!--coloro:#6666CC--><span style="color:#6666CC"><!--/coloro-->] ?<!--colorc--></span><!--/colorc--> <!--coloro:#33CCFF--><span style="color:#33CCFF"><!--/coloro-->$this-&gt;<!--colorc--></span><!--/colorc-->ipsclass<!--coloro:#33CCFF--><span style="color:#33CCFF"><!--/coloro-->-&gt;<!--colorc--></span><!--/colorc-->compiled_templates<!--coloro:#6666CC--><span style="color:#6666CC"><!--/coloro-->[<!--colorc--></span><!--/colorc--> <!--coloro:#CC0000--><span style="color:#CC0000"><!--/coloro-->'skin_ahreputation'<!--colorc--></span><!--/colorc--> <!--coloro:#6666CC--><span style="color:#6666CC"><!--/coloro-->]<!--colorc--></span><!--/colorc--><!--coloro:#33CCFF--><span style="color:#33CCFF"><!--/coloro-->-&gt;<!--colorc--></span><!--/colorc-->member_location<!--coloro:#6666CC--><span style="color:#6666CC"><!--/coloro-->(<!--colorc--></span><!--/colorc--> $row<!--coloro:#6666CC--><span style="color:#6666CC"><!--/coloro-->[<!--colorc--></span><!--/colorc--><!--coloro:#CC0000--><span style="color:#CC0000"><!--/coloro-->'location'<!--colorc--></span><!--/colorc--><!--coloro:#6666CC--><span style="color:#6666CC"><!--/coloro-->] )<!--colorc--></span><!--/colorc--> : '';<br />$author['email_icon']      = ! $row['hide_email'] ? $this-&gt;ipsclass-&gt;compiled_templates[ 'skin_topic' ]-&gt;member_icon_email( $row['id'] ) : '';<br />$author['addresscard']     = $row['id'] ? $this-&gt;ipsclass-&gt;compiled_templates[ 'skin_topic' ]-&gt;member_icon_vcard( $row['id'] ) : '';<br />			                    <br /><br />if ( $mid )<br />{<br />$author['addresscard'] = $this-&gt;ipsclass-&gt;compiled_templates['skin_ahreputation']-&gt;member_icon_vcard( $mid );<br />}<br />                    <br />$author['id'] = $row['member_id'];<br /><!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />If you need anything more then I would be more than happy to provide it. You guys no doubt have more experiance than me at this so something may hopefully stand out.<br /><br />Any help would be very much appreciated.<br /><br /><br />Matt]]></description>
		<pubDate>Sun, 18 Oct 2009 19:02:34 -0400</pubDate>
		<guid isPermaLink="false">10004</guid>
	</item>
	<item>
		<title>Passing variables from Javascript to html</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=9987</link>
		<description><![CDATA[Hi Guys 'n Girls,<br /><br />I have written some Javascript that interprets a UK postcode supplied by the client and then calculates the number of British birds that overfly that area (say, for the sake of arguement, it's 25).<br /><br />I want to write some xhtml that says: "There are 25 birds that overfly your garden" (although, of course, it may be a different number at a different postcode).  How do I pass this variable from Javascript to xhtml and then display it?<br /><br />In case it's not obvious I've only just started writing code.<br /><br />Regards<br /><br />]]></description>
		<pubDate>Thu, 15 Oct 2009 12:11:07 -0400</pubDate>
		<guid isPermaLink="false">9987</guid>
	</item>
	<item>
		<title>Click a link to create a vCard</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=9986</link>
		<description><![CDATA[Hey all,<br /><br />I have a list of Contacts displayed on my site that is compiled from an external JS fils (Haven't ventured in to SQL yet). I am trying to make it so that a user is able to click a link next to the user and have all of there information saved to a vCard that can be saved to MS Outlook. I think this is possible from other documentation that i have read, but I have fallen flat on my face in trying to achieve this. If any body is able to offer any tip's i'd really appriciate it.<br /><br />Thanks.<br /><br />Below is the code I am using to produce the Contact List, just incase any body needs it. I have highlighted red where the vCard link currently is.<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->/* **** ------------------------------------------------------------------------<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GLOBAL VARIABLES<br />------------------------------------------------------------------------ **** */<br />var i = 0;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Dummy count<br />var j = 0;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Dummy count<br />var ContactNow&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Whether or not the 'Contact Now' form is displayed<br />var ContactByPost&nbsp;&nbsp;&nbsp;&nbsp;// Whether or not the 'Contact by Post' form is displayed<br /><br />/* **** ------------------------------------------------------------------------<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CONTACT COUNT - So list is displayed correctly &#40;Normal then alt, normal then alt&#41;<br />------------------------------------------------------------------------ **** */ <br />var inum;<br />var dnum;<br /><br />/* **** ------------------------------------------------------------------------<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QUERIES START HERE<br />------------------------------------------------------------------------ **** */<br />&nbsp;&nbsp;&nbsp;&nbsp;// Sets the variables<br />&nbsp;&nbsp;&nbsp;&nbsp;ContactNow = &#34;False&#34;<br />&nbsp;&nbsp;&nbsp;&nbsp;ContactByPost = &#34;False&#34;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;div class=&#34;post_title&#34;&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;h1 class=&#34;left&#34;&#62;External Contacts - Displaying '+ContactList.length+' results&#60;/h1&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;div class=&#34;post_date right&#34;&#62;'+lastUpdated+'&#60;/div&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;div class=&#34;clearer&#34;&#62;&nbsp;&#60;/div&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;/div&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;div class=&#34;post_body nicelist&#34;&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;ol&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;j = 0;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;for &#40;i in ContactList&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ ContactNow = &#34;False&#34;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ContactByPost = &#34;False&#34;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;j=j+1<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dnum = j/2;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;inum = &#40;Math.round&#40;dnum&#41;&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;dnum == inum&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;li class=&#34;alt&#34;&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;li class=&#34;&#34;&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Avatar<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;div class=&#34;staffdirectory left&#34;&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Avatar defined in profile<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;&#40;typeof ContactList&#91;i&#93;&#91;4&#93;&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;4&#93; != &#34;&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;a onmouseover=&#34;window.status=&#092;'Click to see the profile of '+ContactList&#91;i&#93;&#91;0&#93;+'&#092;';return true&#34; onmouseout=&#34;window.status=&#092;'&#092;';return true&#34; href=&#34;staff_profile.html&#34; onClick=&#34;this.href+=&#092;'?person='+ContactList&#91;i&#93;&#91;0&#93;+'&#092;';return true;&#34;&#62;&#60;img alt=&#34;&#34; src=&#34;'+ContactList&#91;i&#93;&#91;4&#93;+'&#34; height=&#34;32&#34; width=&#34;32&#34; /&#62;&#60;/a&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else // Avatar not defined, so default avatar defined here<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;a onmouseover=&#34;window.status=&#092;'Click to see the profile of '+ContactList&#91;i&#93;&#91;0&#93;+'&#092;';return true&#34; onmouseout=&#34;window.status=&#092;'&#092;';return true&#34; href=&#34;staff_profile.html&#34; onClick=&#34;this.href+=&#092;'?person='+ContactList&#91;i&#93;&#91;0&#93;+'&#092;';return true;&#34;&#62;&#60;img alt=&#34;&#34; src=&#34;img/People/Avatars/sample-avatar.jpg&#34; height=&#34;32&#34; width=&#34;32&#34; /&#62;&#60;/a&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;/div&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Name - *Company &#40;*Position&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;div class=&#34;staffdirectory&#34;&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// No Company, so position automatically not shown even if it exists<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;&#40;typeof ContactList&#91;i&#93;&#91;1&#93;.comp&#41; == &#34;undefined&#34; || ContactList&#91;i&#93;&#91;1&#93;.comp == &#34;&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;span class=&#34;name_staffdirectory&#34;&#62;&#60;a onmouseover=&#34;window.status=&#092;'Click to see the profile of '+ContactList&#91;i&#93;&#91;0&#93;+'&#092;';return true&#34; onmouseout=&#34;window.status=&#092;'&#092;';return true&#34; href=&#34;staff_profile.html&#34; onClick=&#34;this.href+=&#092;'?person='+ContactList&#91;i&#93;&#91;0&#93;+'&#092;';return true;&#34;&#62;'+ContactList&#91;i&#93;&#91;0&#93;+'&#60;/a&#62;&#60;/span&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Company &#40;with URL&#41; and Position<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else if &#40;&#40;&#40;typeof ContactList&#91;i&#93;&#91;1&#93;.url&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;1&#93;.url != &#34;&#34;&#41; && &#40;&#40;typeof ContactList&#91;i&#93;&#91;1&#93;.job&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;1&#93;.job != &#34;&#34;&#41;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;span class=&#34;name_staffdirectory&#34;&#62;&#60;a onmouseover=&#34;window.status=&#092;'Click to see the profile of '+ContactList&#91;i&#93;&#91;0&#93;+'&#092;';return true&#34; onmouseout=&#34;window.status=&#092;'&#092;';return true&#34; href=&#34;staff_profile.html&#34; onClick=&#34;this.href+=&#092;'?person='+ContactList&#91;i&#93;&#91;0&#93;+'&#092;';return true;&#34;&#62;'+ContactList&#91;i&#93;&#91;0&#93;+'&#60;/a&#62; - &#60;a class=&#34;news_link&#34; href=&#34;mailto&#58;'+ContactList&#91;i&#93;&#91;1&#93;.url+'&#34;&#62;'+ContactList&#91;i&#93;&#91;1&#93;.comp+'&#60;/a&#62; &#40;'+ContactList&#91;i&#93;&#91;1&#93;.job+'&#41;&#60;/span&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Company &#40;no URL&#41; and Position<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else if &#40;&#40;&#40;typeof ContactList&#91;i&#93;&#91;1&#93;.url&#41; == &#34;undefined&#34; || ContactList&#91;i&#93;&#91;1&#93;.url == &#34;&#34;&#41; && &#40;&#40;typeof ContactList&#91;i&#93;&#91;1&#93;.job&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;1&#93;.job != &#34;&#34;&#41;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;span class=&#34;name_staffdirectory&#34;&#62;&#60;a onmouseover=&#34;window.status=&#092;'Click to see the profile of '+ContactList&#91;i&#93;&#91;0&#93;+'&#092;';return true&#34; onmouseout=&#34;window.status=&#092;'&#092;';return true&#34; href=&#34;staff_profile.html&#34; onClick=&#34;this.href+=&#092;'?person='+ContactList&#91;i&#93;&#91;0&#93;+'&#092;';return true;&#34;&#62;'+ContactList&#91;i&#93;&#91;0&#93;+'&#60;/a&#62; - '+ContactList&#91;i&#93;&#91;1&#93;.comp+' &#40;'+ContactList&#91;i&#93;&#91;1&#93;.job+'&#41;&#60;/span&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Company &#40;with URL&#41; without Position<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else if &#40;&#40;&#40;typeof ContactList&#91;i&#93;&#91;1&#93;.url&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;1&#93;.url != &#34;&#34;&#41; && &#40;&#40;typeof ContactList&#91;i&#93;&#91;1&#93;.job&#41; == &#34;undefined&#34; || ContactList&#91;i&#93;&#91;1&#93;.job == &#34;&#34;&#41;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;span class=&#34;name_staffdirectory&#34;&#62;&#60;a onmouseover=&#34;window.status=&#092;'Click to see the profile of '+ContactList&#91;i&#93;&#91;0&#93;+'&#092;';return true&#34; onmouseout=&#34;window.status=&#092;'&#092;';return true&#34; href=&#34;staff_profile.html&#34; onClick=&#34;this.href+=&#092;'?person='+ContactList&#91;i&#93;&#91;0&#93;+'&#092;';return true;&#34;&#62;'+ContactList&#91;i&#93;&#91;0&#93;+'&#60;/a&#62; - &#60;a class=&#34;news_link&#34; href=&#34;mailto&#58;'+ContactList&#91;i&#93;&#91;1&#93;.url+'&#34;&#62;'+ContactList&#91;i&#93;&#91;1&#93;.comp+'&#60;/a&#62;&#60;/span&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Company &#40;no URL&#41; without Position<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else if &#40;&#40;&#40;typeof ContactList&#91;i&#93;&#91;1&#93;.url&#41; == &#34;undefined&#34; || ContactList&#91;i&#93;&#91;1&#93;.url == &#34;&#34;&#41; && &#40;&#40;typeof ContactList&#91;i&#93;&#91;1&#93;.job&#41; == &#34;undefined&#34; || ContactList&#91;i&#93;&#91;1&#93;.job == &#34;&#34;&#41;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;span class=&#34;name_staffdirectory&#34;&#62;&#60;a onmouseover=&#34;window.status=&#092;'Click to see the profile of '+ContactList&#91;i&#93;&#91;0&#93;+'&#092;';return true&#34; onmouseout=&#34;window.status=&#092;'&#092;';return true&#34; href=&#34;staff_profile.html&#34; onClick=&#34;this.href+=&#092;'?person='+ContactList&#91;i&#93;&#91;0&#93;+'&#092;';return true;&#34;&#62;'+ContactList&#91;i&#93;&#91;0&#93;+'&#60;/a&#62; - '+ContactList&#91;i&#93;&#91;1&#93;.comp+'&#60;/span&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Email link<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Has email address<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;&#40;typeof ContactList&#91;i&#93;&#91;2&#93;.email&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;2&#93;.email != &#34;&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;div class=&#34;contact_details&#34;&#62;&#60;a onmouseover=&#34;window.status=&#092;'Click to email '+ContactList&#91;i&#93;&#91;0&#93;.split&#40;&#34; &#34;, 1&#41;+'&#092;';return true&#34; onmouseout=&#34;window.status=&#092;'&#092;';return true&#34; href=&#34;mailto&#58;'+ContactList&#91;i&#93;&#91;2&#93;.email+'&#34;&#62;Click to e-mail '+ContactList&#91;i&#93;&#91;0&#93;.split&#40;&#34; &#34;, 1&#41;+'&#60;/a&#62;&#60;/div&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// No email address<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;div class=&#34;contact_details&#34;&#62;No email address available for '+ContactList&#91;i&#93;&#91;0&#93;.split&#40;&#34; &#34;, 1&#41;+'&#60;/div&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;/div&#62;'&#41;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Contact Details<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Contact now - Does not show the heading if all elements are empty or undefined<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;&#40;&#40;typeof ContactList&#91;i&#93;&#91;2&#93;.office&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;2&#93;.email != &#34;&#34;&#41; || <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;&#40;typeof ContactList&#91;i&#93;&#91;2&#93;.mob&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;2&#93;.mob != &#34;&#34;&#41; || <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;&#40;typeof ContactList&#91;i&#93;&#91;2&#93;.off&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;2&#93;.off != &#34;&#34;&#41; || <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;&#40;typeof ContactList&#91;i&#93;&#91;2&#93;.ext&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;2&#93;.ext != &#34;&#34;&#41; || <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;&#40;typeof ContactList&#91;i&#93;&#91;2&#93;.ddi&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;2&#93;.ddi != &#34;&#34;&#41; || <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;&#40;typeof ContactList&#91;i&#93;&#91;2&#93;.fax&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;2&#93;.fax != &#34;&#34;&#41;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ ContactNow = &#34;True&#34;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;div class=&#34;profile_contact left&#34;&#62;&#60;h2&#62;Contact '+ContactList&#91;i&#93;&#91;0&#93;.split&#40;&#34; &#34;, 1&#41;+' now&#60;/h2&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;table class=&#34;contact_details&#34;&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// E-mail address &#40;email&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;&#40;typeof ContactList&#91;i&#93;&#91;2&#93;.email&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;2&#93;.email != &#34;&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;tr&#62;&#60;td class=&#34;method&#34;&#62;&#60;a class=&#34;header email&#34;&#62;&#60;span class=&#34;type&#34;&#62;E-mail&#60;/span&#62;&#58; &#60;/a&#62;&#60;/td&#62;&#60;td&#62;&#60;span class=&#34;value&#34;&#62;'+ContactList&#91;i&#93;&#91;2&#93;.email+'&#60;/span&#62;&#60;/a&#62;&#60;/td&#62;&#60;/tr&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Mobile &#40;mob&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;&#40;typeof ContactList&#91;i&#93;&#91;2&#93;.mob&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;2&#93;.mob != &#34;&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;tr&#62;&#60;td class=&#34;method&#34;&#62;&#60;a class=&#34;header tel&#34;&#62;&#60;span class=&#34;type&#34;&#62;Mobile&#60;/span&#62;&#58; &#60;/a&#62;&#60;/td&#62;&#60;td&#62;&#60;span class=&#34;value&#34;&#62;'+ContactList&#91;i&#93;&#91;2&#93;.mob+'&#60;/span&#62;&#60;/td&#62;&#60;/tr&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Office &#40;off&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;&#40;typeof ContactList&#91;i&#93;&#91;2&#93;.off&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;2&#93;.off != &#34;&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;tr&#62;&#60;td class=&#34;method&#34;&#62;&#60;a class=&#34;header tel&#34;&#62;&#60;span class=&#34;type&#34;&#62;Office&#60;/span&#62;&#58; &#60;/a&#62;&#60;/td&#62;&#60;td&#62;&#60;span class=&#34;value&#34;&#62;'+ContactList&#91;i&#93;&#91;2&#93;.off+'&#60;/span&#62;&#60;/td&#62;&#60;/tr&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Extension &#40;ext&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;&#40;typeof ContactList&#91;i&#93;&#91;2&#93;.ext&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;2&#93;.ext != &#34;&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;tr&#62;&#60;td class=&#34;method&#34;&#62;&#60;a class=&#34;header tel&#34;&#62;&#60;span class=&#34;type&#34;&#62;Extension&#60;/span&#62;&#58; &#60;/a&#62;&#60;/td&#62;&#60;td&#62;&#60;span class=&#34;value&#34;&#62;'+ContactList&#91;i&#93;&#91;2&#93;.ext+'&#60;/span&#62;&#60;/td&#62;&#60;/tr&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Direct Dail &#40;ddi&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;&#40;typeof ContactList&#91;i&#93;&#91;2&#93;.ddi&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;2&#93;.ddi != &#34;&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;tr&#62;&#60;td class=&#34;method&#34;&#62;&#60;a class=&#34;header tel&#34;&#62;&#60;span class=&#34;type&#34;&#62;Direct Dial&#60;/span&#62;&#58; &#60;/a&#62;&#60;/td&#62;&#60;td&#62;&#60;span class=&#34;value&#34;&#62;'+ContactList&#91;i&#93;&#91;2&#93;.ddi+'&#60;/span&#62;&#60;/td&#62;&#60;/tr&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Fax &#40;fax&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;&#40;typeof ContactList&#91;i&#93;&#91;2&#93;.fax&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;2&#93;.fax != &#34;&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;tr&#62;&#60;td class=&#34;method&#34;&#62;&#60;a class=&#34;header tel&#34;&#62;&#60;span class=&#34;type&#34;&#62;Fax&#60;/span&#62;&#58; &#60;/a&#62;&#60;/td&#62;&#60;td&#62;&#60;span class=&#34;value&#34;&#62;'+ContactList&#91;i&#93;&#91;2&#93;.fax+'&#60;/span&#62;&#60;/td&#62;&#60;/tr&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;/table&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;/div&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Contact by Post - Does not show the heading if all elements are empty or undefined<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;&#40;&#40;typeof ContactList&#91;i&#93;&#91;1&#93;.comp&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;1&#93;.comp != &#34;&#34;&#41; ||<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;&#40;typeof ContactList&#91;i&#93;&#91;1&#93;.job&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;1&#93;.job != &#34;&#34;&#41; || <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;&#40;typeof ContactList&#91;i&#93;&#91;3&#93;.add1&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;3&#93;.add1 != &#34;&#34;&#41; || <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;&#40;typeof ContactList&#91;i&#93;&#91;3&#93;.add2&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;3&#93;.add2 != &#34;&#34;&#41; || <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;&#40;typeof ContactList&#91;i&#93;&#91;3&#93;.add3&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;3&#93;.add3 != &#34;&#34;&#41; || <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;&#40;typeof ContactList&#91;i&#93;&#91;3&#93;.add4&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;3&#93;.add4 != &#34;&#34;&#41; || <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;&#40;typeof ContactList&#91;i&#93;&#91;3&#93;.add5&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;3&#93;.add5 != &#34;&#34;&#41; || <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;&#40;typeof ContactList&#91;i&#93;&#91;3&#93;.add6&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;3&#93;.add6 != &#34;&#34;&#41;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ ContactByPost = &#34;True&#34;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;div class=&#34;profile_contact left&#34;&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;h2&#62;Contact '+ContactList&#91;i&#93;&#91;0&#93;.split&#40;&#34; &#34;, 1&#41;+' by post&#60;/h2&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;table class=&#34;contact_details&#34;&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;div class=&#34;org&#34;&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Company Name<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;&#40;typeof ContactList&#91;i&#93;&#91;1&#93;.comp&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;1&#93;.comp != &#34;&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;tr&#62;&#60;td class=&#34;method&#34;&#62;&#60;a class=&#34;header&#34;&#62;Company&#58; &#60;/a&#62;&#60;/td&#62;&#60;td&#62;&#60;div class=&#34;organization-name&#34;&#62;'+ContactList&#91;i&#93;&#91;1&#93;.comp+'&#60;/div&#62;&#60;/td&#62;&#60;/tr&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Position<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;&#40;typeof ContactList&#91;i&#93;&#91;1&#93;.job&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;1&#93;.job != &#34;&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;tr&#62;&#60;td class=&#34;method&#34;&#62;&#60;a class=&#34;header&#34;&#62;Position&#58; &#60;/a&#62;&#60;/td&#62;&#60;td&#62;&#60;div class=&#34;organization-unit&#34;&#62;'+ContactList&#91;i&#93;&#91;1&#93;.job+'&#60;/div&#62;&#60;/td&#62;&#60;/tr&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;/div&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Address 1<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;&#40;typeof ContactList&#91;i&#93;&#91;3&#93;.add1&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;3&#93;.add6 != &#34;&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;div class=&#34;adr&#34;&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;tr&#62;&#60;td class=&#34;method&#34;&#62;&#60;a class=&#34;header&#34;&#62;Address&#58; &#60;/a&#62;&#60;/td&#62;&#60;td&#62;&#60;span class=&#34;street-address&#34;&#62;'+ContactList&#91;i&#93;&#91;3&#93;.add1+'&#60;/span&#62;&#60;/tr&#62;&#60;/td&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Address 2<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;&#40;typeof ContactList&#91;i&#93;&#91;3&#93;.add2&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;3&#93;.add6 != &#34;&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;tr&#62;&#60;td&#62;&#60;/td&#62;&#60;td&#62;&#60;span class=&#34;locality&#34;&#62;'+ContactList&#91;i&#93;&#91;3&#93;.add2+'&#60;/span&#62;&#60;/tr&#62;&#60;/td&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Address 3<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;&#40;typeof ContactList&#91;i&#93;&#91;3&#93;.add3&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;3&#93;.add6 != &#34;&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;tr&#62;&#60;td&#62;&#60;/td&#62;&#60;td&#62;&#60;span class=&#34;region&#34;&#62;'+ContactList&#91;i&#93;&#91;3&#93;.add3+'&#60;/span&#62;&#60;/tr&#62;&#60;/td&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Address 4<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;&#40;typeof ContactList&#91;i&#93;&#91;3&#93;.add4&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;3&#93;.add6 != &#34;&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;tr&#62;&#60;td&#62;&#60;/td&#62;&#60;td&#62;&#60;span class=&#34;postal-code&#34;&#62;'+ContactList&#91;i&#93;&#91;3&#93;.add4+'&#60;/span&#62;&#60;/tr&#62;&#60;/td&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Address 5<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;&#40;typeof ContactList&#91;i&#93;&#91;3&#93;.add5&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;3&#93;.add6 != &#34;&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;tr&#62;&#60;td&#62;&#60;/td&#62;&#60;td&#62;&#60;span class=&#34;postal-code&#34;&#62;'+ContactList&#91;i&#93;&#91;3&#93;.add5+'&#60;/span&#62;&#60;/tr&#62;&#60;/td&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Address 6<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;&#40;typeof ContactList&#91;i&#93;&#91;3&#93;.add6&#41; != &#34;undefined&#34; && ContactList&#91;i&#93;&#91;3&#93;.add6 != &#34;&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;tr&#62;&#60;td&#62;&#60;/td&#62;&#60;td&#62;&#60;span class=&#34;postal-code&#34;&#62;'+ContactList&#91;i&#93;&#91;3&#93;.add6+'&#60;/span&#62;&#60;/tr&#62;&#60;/td&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;/div&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;/table&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;/div&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add Contact Card - Will not display if both 'Contact Now' and 'Contact by Post' are hidden<br />&#91;color=#FF0000&#93;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40;ContactByPost == &#34;True&#34; && ContactNow == &#34;True&#34;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;div class=&#34;profile_contact vcard&#34;&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;h2&#62;Add '+ContactList&#91;i&#93;&#91;0&#93;.split&#40;&#34; &#34;, 1&#41;+'&#60;/h2&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;table class=&#34;contact_details&#34;&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;tr&#62;&#60;td&#62;&#60;a href=&#34;http&#58;//feeds.technorati.com/contact/http&#58;//dynedrewnett&#34; title=&#34;Download vCard&#34;&#62;&#60;img src=&#34;img/vcard_icon.gif&#34; /&#62;&#60;/a&#62;&#60;/td&#62;&#60;/tr&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;tr&#62;&#60;td&#62;&#60;a href=&#34;http&#58;//feeds.technorati.com/contact/http&#58;//dynedrewnett&#34; title=&#34;Download vCard&#34;&#62;Click to add '+ContactList&#91;i&#93;&#91;0&#93;.split&#40;&#34; &#34;, 1&#41;+' to your Address Book&#60;/a&#62;&#60;/td&#62;&#60;/tr&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;/table&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;/div&#62;'&#41;;&#91;/color&#93;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;div class=&#34;clearer&#34;&#62;&nbsp;&#60;/div&#62;'&#41;;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;/li&#62;'&#41;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;/ol&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;document.write&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;/div&#62;'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;if &#40;dnum != inum &#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;div class=&#34;post_bottom&#34;&#62;&#60;/div&#62;'&#41;; }<br />&nbsp;&nbsp;&nbsp;&nbsp;else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ document.write&nbsp;&nbsp;&nbsp;&nbsp;&#40;'&#60;div class=&#34;post_bottom_alt&#34;&#62;&#60;/div&#62;'&#41;; }<!--c2--></div><!--ec2-->]]></description>
		<pubDate>Thu, 15 Oct 2009 10:28:00 -0400</pubDate>
		<guid isPermaLink="false">9986</guid>
	</item>
	<item>
		<title>Password Restrictions</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=9979</link>
		<description><![CDATA[I need to make an input field labeled "password" that turns green when all restrictions are met and turns red when they aren't.  That part is fairy easy...the difficulty I'm running into is that I can't figure out how to make it restrict the way that I'm supposed to.<br /><br />It needs: <br />-at least 2 numbers<br />-at least 2 lower case letters<br />-at least 2 upper case letters<br />-and between 8-32 characters long<br /><br />All I've accomplished after a week of trying is it'll successfully make you enter between 8-32 characters.<br /><br />Please help!!<br /><br /><br /><br />P.S. Yes this if for a college class...so if morally you just want to point me in the right direction instead of giving me the text, I think I could live with that, although the full text would be appreciated!]]></description>
		<pubDate>Wed, 14 Oct 2009 09:57:25 -0400</pubDate>
		<guid isPermaLink="false">9979</guid>
	</item>
	<item>
		<title>Embedding sound using JS Vars?</title>
		<link>http://forums.htmlhelp.com/index.php?showtopic=9972</link>
		<description><![CDATA[How do i use the &lt; embed src="SOMETHING" &gt; with a JavaScript var, say, sound..?<br /><br />I mean, if i've already set sound = 'mooh'; , how do i &lt; embed src=sound &gt; <b>-&gt;</b> &lt; embed src='mooh' &gt; ???? I'm hoping you can understand it <img src="http://forums.htmlhelp.com/style_emoticons/default/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />]]></description>
		<pubDate>Tue, 13 Oct 2009 12:21:36 -0400</pubDate>
		<guid isPermaLink="false">9972</guid>
	</item>
</channel>
</rss>