<cfsilent>

<cfset application.downloads = structNew() />
<cfset application.downloads.mgcoldfusion2 = structNew() />
<cfset application.downloads.mgcoldfusion2.title = "Model-Glue: ColdFusion" />
<cfset application.downloads.mgcoldfusion2.version = "2.0.304" />
<cfset application.downloads.mgcoldfusion2.url = "http://www.model-glue.com/downloads/Model-Glue_Unity_Final.zip" />

<cfset application.downloads.mgcoldfusion3 = structNew() />
<cfset application.downloads.mgcoldfusion3.title = "Model-Glue: 3.1M" />
<cfset application.downloads.mgcoldfusion3.version = "3.1.299" />
<cfset application.downloads.mgcoldfusion3.url = "http://www.model-glue.com/downloads/ModelGlue_3.1.299.zip" />

<cfset application.downloads.mgcoldfusion3beta = structNew() />
<cfset application.downloads.mgcoldfusion3beta.title = "Model-Glue: 3.1 Maintenance Release Candidate" />
<cfset application.downloads.mgcoldfusion3beta.version = "3.1.294" />
<cfset application.downloads.mgcoldfusion3beta.url = "http://www.model-glue.com/downloads/ModelGlue_3.1.294.zip" />

<cfset application.downloads.mgflex = structNew() />
<cfset application.downloads.mgflex.title = "Model-Glue: Flex" />
<cfset application.downloads.mgflex.version = "Alpha 1" />
<cfset application.downloads.mgflex.url = "http://www.model-glue.com/downloads/modelglueflex_0.0.zip" />
	
<cfinclude template="incDetermineMode.cfm" />

</cfsilent><cfoutput>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<cfif request.mashed.mode eq "blog">
		<title>#htmlEditFormat(application.blog.getProperty("blogTitle"))##additionalTitle#</title>
	<cfelseif request.mashed.mode eq "galleon">
		<title>#attributes.title#</title>
	<cfelse>
		<title>The Model-Glue Framework</title>
	</cfif>
	
	<!--- RBB 6/23/05: Push crawlers to follow links, but only index content on individual entry pages --->
	<cfif isDefined("url.mode") and url.mode is "entry">
	<!--- index entry page --->
	<meta name="robots" content="index,follow" />
	<cfelse>
	<!--- don't index other pages --->
	<meta name="robots" content="noindex,follow" />	  
	</cfif>

	<cfif request.mashed.mode eq "blog">
		<meta name="title" content="#application.blog.getProperty("blogTitle")##additionalTitle#" />
		<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
		<meta name="description" content="#application.blog.getProperty("blogDescription")##additionalTitle#" />
		<meta name="keywords" content="#application.blog.getProperty("blogKeywords")#" />
	</cfif>
	
	<link rel="stylesheet" href="#request.mashed.css#/style.css" type="text/css" />
	<link rel="stylesheet" href="#request.mashed.css#/modelglue.css" type="text/css" />

	<script type="text/javascript" src="#request.mashed.js#/sm-iepng.js" defer="defer" charset="ISO-8859-1"></script>
	
	<!--- For Firefox --->
	<cfif request.mashed.mode eq "blog">
		<link rel="alternate" type="application/rss+xml" title="RSS" href="#application.rooturl#/rss.cfm?mode=full" />
	
		<script type="text/javascript">
		function launchComment(id) {
			cWin = window.open("#application.rooturl#/addcomment.cfm?id="+id,"cWin","width=550,height=700,menubar=yes,personalbar=no,dependent=true,directories=no,status=yes,toolbar=no,scrollbars=yes,resizable=yes");
		}
		function launchTrackback(id) {
			cWin = window.open("#application.rooturl#/trackbacks.cfm?id="+id,"cWin","width=550,height=500,menubar=yes,personalbar=no,dependent=true,directories=no,status=yes,toolbar=no,scrollbars=yes,resizable=yes");
		}
		</script>
	</cfif>
	
	<cfif request.mashed.mode eq "galleon">
   	<cfif isDefined("request.conference")>
    <link rel="alternate" type="application/rss+xml" title="#request.conference.name# RSS" href="#application.galleon.settings.rooturl#rss.cfm?conferenceid=#request.conference.id#">
    </cfif>
	</cfif>	
</head>

<body onload="if(top != self) top.location.replace(self.location.href);">

<div id="page">

	<div id="top">
		<h2><a href="" title="Home" alt="Home"><img src="/images/mgLogoTrans.png" sm:iepng="true" /></a></h2>

		<div id="navMenu">
			<ul>
			<li><a href="/" class="current">home</a></li>
			<li><a href="/coldfusion.cfm">coldfusion</a></li>
			<li><a href="/flex.cfm">flex</a></li>
			<li><a href="/blog">blog</a></li>
			<li><a href="http://groups.google.com/group/model-glue">google group</a></li>
			<li><a href="/forums">forums</a></li>
			<!---
			<li><a href="http://docs.model-glue.com">documentation</a></li>
			<li><a href="http://trac.model-glue.com">bugs</a></li>
			--->
			</ul>
		</div>
	</div>
		
	<div id="content">
	
	
		<div id="blogText">
<!---
		<div style="border:2px Solid ##999;background:##EAEAEA;padding:5px;margin-bottom:10px">
<span style="color:##F00;font-weight:bold;font-size:16px">Help Joe Fight Multiple Sclerosis!</span>
<br /><div style="margin-top:5px"><a href="http://www.nationalmssociety.org/site/TR?px=3903375&pg=personal&fr_id=5520">Sponsor Joe Rinehart as he rides a bike 200 miles in two days in the 2007 MS150 bike ride.</a></div>
</div>
--->
</cfoutput>	
