function write_open_jobs_content(loggedIn) {
	if (loggedIn)
		writeoppspage()
	else
		writejobspage()
}

function writeoppspage() {
document.write("<div style=\"position:relative; float:right; width:200px; padding:20px 10px; border:2px solid #111924; margin-left:10px;\"> \
<h3>VisualCV Job Alerts</h3> \
\
<p>Stay up-to-date with the latest jobs available on VisualCV.com.</p> \
\
<div style=\"float:left; margin-right:6px;\"><img src=\"/images/default/components/static/rss.png\" width=\"16\" height=\"16\" /></div> \
\
<p>You can have the job titles and  descriptions delivered to your desktop or Web browser. <a href=\"/positions/list.rss\">Subscribe to this feed</a>.</p> \
\
<p><a href=\"http://en.wikipedia.org/wiki/RSS_(file_format)\" target=\"_wiki\">What\'s an RSS feed?</a></p> \
\
<p><script type=\"text/javascript\"> \
document.write(buildMailToLink(support_user,site,\"Contact VisualCV Support for assistance\",\"VisualCV - Support Request - Help me with RSS\")); \
</script></p>\
\
<hr /> \
\
<div style=\"margin:12px 0 3px;\"><a href=\"http://twitter.com/visualcvjobs\"><img width=\"105\" height=\"25\" border=\"0\" src=\"/images/default/components/static/twitter.png\" \ /></a></div> \
\
<p style=\"margin-bottom:0;\">Follow <a href=\"http://twitter.com/visualcvjobs\">@visualcvjobs</a> tweets.</p> \
\
</div> \
\
<h2>Get a job on VisualCV!</h2> \
\
<p>Browse this list of jobs or search all jobs.</p> \
\
<form id=\"searchform\" action=\"/positions/find\" style=\"overflow:hidden; margin-bottom:12px; zoom:1;\"> \
<input style=\"float:left; height:19px;\" type=\"text\" name=\"company[query]\"/> \
<div style=\"float:left;\"><a id=\"subbtnacr\" class=\"subbtn\" href=\"javascript:submitform();\"><span id=\"subbtnspan\" onmousedown=\"dohilite();\" onmouseup=\"undohilite()\">Submit</span></a></div> \
</form> \
\
<p>Please check back often; the list of open jobs grows daily.</p>" )
}

function writejobspage() {
document.write("<h1>Get a Better Job with a Better Resume</h1> \
\
<p>At VisualCV you can build an interactive resume to use in your job search. Use your VisualCV on job websites, with your personal and professional networks and right here at VisualCV.com.</p> \
\
<div style=\"margin:0 30px 10px 0; position:relative; float:left;\"><img src=\"/www/images/components/example_visualcv.jpg\" alt=\"Example VisualCV\" width=\"152\" height=\"230\" border=\"0\" title=\"VisualCV | Example VisualCV\" /></div> \
\
<p>A VisualCV is an Internet-based resume that lets you stand out from the crowd. You can:</p> \
\
<ul style=\"padding-left: 200px;\"> \
  <li>Include references, images, work samples, charts and graphs, audio, and more</li> \
  <li>Share your VisualCV via e-mail, your unique URL or your social networks</li> \
  <li>Control and track who sees it</li> \
  <li>Get your own URL (www.visualcv.com/yournamehere)</li> \
  <li>Apply for jobs</li> \
</ul> \
\
<p>And, VisualCV is FREE.</p> \
\
<p>Employers and recruiters use VisualCV.com to find great professionals. <a href=\"/signup\">Create a VisualCV today</a> to get found! Below you will find a list of companies and their open jobs.</p> \
\
<p>Not a member? <a href=\"/signup\">Register today for your free account</a> to stand out from the crowd and share your VisualCV directly with these employers.</p> \
\
<p style=\"font-size:13px\"><strong>Click job openings below to view more details</strong>. If you are a good match for a position, just apply with your VisualCV.</p>" )
}
