//   *****************************************************
//   ***           web icon begin            ***
//   *****************************************************
document.write("<link rel='shortcut icon' href='/favicon.ico' type='image/ico'>")
//   web icon end 

function switchImg(img) {

var newString = img.substring(0, (img.length - 4)) + "_" + img.substring((img.length - 4), img.length);
//alert(newString)
//this.src = newString
alert(this.src)
}

var show_it = "visible"
var hide_it = "hidden"

function toggleLayer(id) {
	if(document.all) {var obj = document.all(id).style}
	if(document.getElementById){var obj = document.getElementById(id).style}
	if(document.layers) {var obj = document.layers[id]; show_it = "show"; hide_it = "hide"}
	if(navigator.userAgent.indexOf("Opera")==0) {show_it = "VISIBLE"; hide_it = "HIDDEN"}
	if(obj.visibility == hide_it){obj.visibility = show_it}
	else {obj.visibility = hide_it}	
}

function showLayer(id) {
	if(document.all) {var obj = document.all(id).style}
	if(document.getElementById){var obj = document.getElementById(id).style}
	if(document.layers) {var obj = document.layers[id]; show_it = "show"; hide_it = "hide"}
	if(navigator.userAgent.indexOf("Opera")==0) {show_it = "VISIBLE"; hide_it = "HIDDEN"}
	obj.visibility = show_it
}

function hideLayer(id) {
	if(document.all) {var obj = document.all(id).style}
	if(document.getElementById){var obj = document.getElementById(id).style}
	if(document.layers) {var obj = document.layers[id]; show_it = "show"; hide_it = "hide"}
	if(navigator.userAgent.indexOf("Opera")==0) {show_it = "VISIBLE"; hide_it = "HIDDEN"}
	obj.visibility = hide_it
}


function aboutButtonColor(id) {
	//rollover color for button
	document.getElementById("profile_button").src = "images/build/ba_profile.gif"
	document.getElementById("philosophy_button").src = "images/build/ba_philosophy.gif"
	document.getElementById("services_button").src = "images/build/ba_services.gif"
	document.getElementById("history_button").src = "images/build/ba_history.gif"

	if (id == "profile_button"){document.getElementById("profile_button").src = "images/build/ba_profile_.gif"}
	if (id == "philosophy_button"){document.getElementById("philosophy_button").src = "images/build/ba_philosophy_.gif"}
	if (id == "services_button"){document.getElementById("services_button").src = "images/build/ba_services_.gif"}
	if (id == "history_button"){document.getElementById("history_button").src = "images/build/ba_history_.gif"}
}

function hideAboutSeries(id) {
if (keep_showing != id && keep_showing != ""){
	hideLayer(id)
	showLayer (keep_showing)
	}
if (keep_showing == "") {hideLayer(id);hideLayer('aboutOutline');}
document.getElementById("bodycopy").innerHTML = "<p></p>"
}


function showAboutSeries(id) {
	if (keep_showing != ""){hideLayer(keep_showing)}
	showLayer(id)
	showLayer('aboutOutline');
	if (id == "imgProfile"){
		document.getElementById("bodycopy").innerHTML = profile_text
		
	}
	if (id == "imgPhilosophy"){document.getElementById("bodycopy").innerHTML = philosophy_text}
	if (id == "imgHistory"){document.getElementById("bodycopy").innerHTML = history_text}
	if (id == "imgServices"){document.getElementById("bodycopy").innerHTML = services_text}
}



function showProjectSeries(id) {
	var mImages = new Array("miArtsCenter","miCalla","miSnell","miCharles","miStraub", "miSignature", "mi475", "miSeybold");

	for (i = 0; i < mImages.length; i++){
		hideLayer(mImages[i]);
	}

	showLayer(id);
	showLayer('projectOutline');
	aboutButtonColor()
}

function hideProjectSeries(id) {
	hideLayer(id)
	hideLayer('projectOutline');
}


function mainGray (id2){
// make other buttons gray
if (id2 != "mainAbout") {document.getElementById("mainAbout").src="images/build/main_about__.gif"}
if (id2 != "mainProjects") {document.getElementById("mainProjects").src="images/build/main_projects__.gif"}
if (id2 != "mainContact") {document.getElementById("mainContact").src="images/build/main_contact__.gif"}

// stroke highlighted button
if (id2 == "mainAbout") {document.getElementById("mainAbout").src="images/build/main_about_.gif"}
if (id2 == "mainProjects") {document.getElementById("mainProjects").src="images/build/main_projects_.gif"}
if (id2 == "mainContact") {document.getElementById("mainContact").src="images/build/main_contact_.gif"}

}

function mainUngray (){

document.getElementById("mainAbout").src="images/build/main_about__.gif";
document.getElementById("mainProjects").src="images/build/main_projects__.gif";
document.getElementById("mainContact").src="images/build/main_contact__.gif";

}



var timer
var timer2
var time_count = 300

function closeCounter(id){
	last2 = id; // so it will know which one to hide
	var timerbox = "hideLayer('"+id+"');mainUngray()"
	timer = setTimeout (timerbox, time_count)
}

function closeCounter2(id){
	var timerbox = "hideLayer('"+id+"'); "
	timer2 = setTimeout (timerbox, time_count)
}

var profile_text = "<div style='font-size: 1px; line-height: 1px; position: absolute; top: 5px; left: 302px;'><a href='' onmouseover='countTime(\"up\")' onmouseout='clearTimeout(scroll_box_timer)' onclick='return false;'><img src='images/scroll_up.gif' border='0' alt='' width='11' height='7'></a></div><div style='font-size: 1px; line-height: 1px; position: absolute; top: 365px; left: 302px;'><a href='down' onmouseover='countTime(\"down\")' onmouseout='clearTimeout(scroll_box_timer)' onclick='return false;'><img src='images/scroll_down.gif' border='0' alt='' width='11' height='7'></a></div><div id='text_clip' style='position: absolute; top: 0px; left: 0px; width: 400px; height: 400px; clip: rect(0px 298px 372px 0px);'><div id='btChecker' style='position: relative; top: 0px; left: 0px; width: 298px;'><p style='text-align: justify'>Clemmons Architecture strives to create innovative designs that fulfill their programmatic needs, better the local community, and are environmentally sustainable. The primary measure of success for each project is meeting the client&rdquo;s goals for performance, cost, and schedule. In addition it is important that each project enhance its local environment, whether it is rural, suburban, or urban. And finally we believe that sustainable buildings are smarter buildings which are not only cost effective but improve people&rdquo;s lives.</p><p style='text-align: justify'>Our diverse portfolio includes experience with residential, commercial, and institutional projects. We focus on urban infill and redevelopment projects: large and small, new construction and historic preservation. For new construction projects, we produce contemporary designs reflecting our belief that the best architects of all ages have incorporated the well tested lessons of the past while optimistically creating an architecture of their own time. In addition to our architectural work, we also provide urban design services including site plan studies for individual parcels and master plans for large mixed-use projects.</p><p style='text-align: justify'>First formed in 1996, we re-organized as clemmonsArchitecture in 2001. Our studio-style office encourages interaction between employees and reflects our philosophy of architectural design as a collaborative enterprise. Currently clemmonsArchitecture has six employees with two licensed architects, three intern architects, and an office manager. Tim Clemmons is principal-in-charge for every project and is intimately involved with each from conception to completion. Each project also has a project manager whose role is to ensure the project meets its quality, budget, and time goals.</p></div></div>"

var philosophy_text = "<p style='text-align: justify'>The architectural and urban design work of Clemmons Architecture consistently strives to meet two main goals with each project.  First, we attempt to understand and resolve the particular problem of the project. This can be creating an urban housing community that complements contemporary lifestyles or envisioning an enlarged venue for a local arts organization that successfully projects its image. </p><p style='text-align: justify'>Our second goal is to explore the potential of each project for its ability to promote a sense of community within its local environment. It is our belief that just as successful human organizations are composed of purposeful individuals who share common principles, successful communities are composed of singular architectural projects that together create a larger whole. So with each house we attempt to reinforce the local neighborhood, and with each commercial project to enhance the local public life.</p><p style='text-align: justify'>Consistent with our goals, most of the firm&rsquo;s work consists of urban infill projects and renovations of and additions to existing buildings and urban infill projects. The renovation projects have ranged in scale from modest single-family homes to large-scale commercial buildings, and have included both strict historic preservation projects as well as contemporary remodels. The infill projects vary from townhouses to private schools.</p>"

var history_text = "<p style='text-align: justify'>Clemmons Architecture is organized so that Tim Clemmons is principal-in-charge of each project and he remains intimately involved with the project from conception to completion. We know that clients need daily contact with the person who is able to make decisions for that project. Each project also has an architect or graduate architect as project manager whose role is to ensure the project meets its quality, cost and time goals.</p><p style='text-align: justify'>Finally, our organization and philosophy encourages community involvement of ourselves and our employees, and individually we have served on the boards of neighborhood associations, arts organizations, charitable groups and civic initiatives among others.</p>"

var services_text ="<p style='text-align: justify'>Clemmons Architecture specializes in urban architecture and design. Its work includes historic preservation of antique buildings and houses, renovation of older structures, and design of modern residences and businesses.</p><p>Our scope of services include:</p><p style='text-align: justify'>Architecture<br>Renovation<br>Master Planning</p>"

