// JavaScript Document
<!--
function home() { window.location="/index.asp";}
function aboutus() { window.location="/aboutus.asp";}
function web() { window.location="/customApplications.asp"; }
function clients() { window.location="/clients.asp"; }
function contactus() { window.location="/contact.asp"; }
//-->


/* Functions that display status bar messages. */
//--------------------------------

	// Global Variables for Window Status
	msg_defaultPage = ""

    msg_index = ":: creative capsule ::"
    msg_about = ":: creative capsule :: about us"
    msg_approach = ":: creative capsule :: our approach"
    msg_team = ":: creative capsule :: our team"
    msg_partners = ":: creative capsule :: partners"
	msg_webdesign = ":: creative capsule :: web design"
    msg_mobile = ":: creative capsule :: mobile solutions"
    msg_custom = ":: creative capsule :: custom applications"
    msg_consulting = ":: creative capsule :: consulting"
    msg_hosting = ":: creative capsule :: hosting"
	msg_clients = ":: creative capsule :: clients"
	msg_resource = ":: creative capsule :: resources"
	msg_stories = ":: creative capsule :: success stories"
	msg_contact = ":: creative capsule :: contact us"
	msg_location = ":: creative capsule :: location"
	msg_careers = ":: creative capsule :: careers"
	msg_internships = ":: creative capsule :: internships"
	msg_submit = ":: creative capsule :: submit form"
	msg_clear = ":: creative capsule :: clear form"
	msg_cms = ":: creative capsule :: content management system"
	msg_sitemap = ":: creative capsule :: site map"
	msg_privacy = ":: creative capsule :: privacy policy"
	msg_help = ":: creative capsule :: help desk"

// Display onload status
function dols(msgstr) { msg_defaultPage = msgstr; window.status = eval(msgstr); }

// Display status
function ds(msgStr) { window.status = eval(msgStr); }

// Display default status
function dds() { window.status = eval(msg_defaultPage); }

//-->


//window.defaultStatus = 'Creative Capsule';

<!--

if (document.images) {

	//--  sub-menu images --

	//-- begin sub-menu :: web solutions
	webdesignON = new Image();
    webdesignOFF = new Image();
	mobileON = new Image();
    mobileOFF = new Image();
	customON = new Image();
    customOFF = new Image();
	consultingON = new Image();
    consultingOFF = new Image();
	hostingON = new Image();
    hostingOFF = new Image();

    webdesignON.src = "images/links/web_design_over.gif";
    webdesignOFF.src = "images/links/web_design.gif";
	mobileON.src = "images/links/mobile_over.gif";
    mobileOFF.src = "images/links/mobile.gif";
	customON.src = "images/links/custom_app_over.gif";
    customOFF.src = "images/links/custom_app.gif";
	consultingON.src = "images/links/consulting_over.gif";
    consultingOFF.src = "images/links/consulting.gif";
	hostingON.src = "images/links/hosting_over.gif";
    hostingOFF.src = "images/links/hosting.gif";
	//-- end sub-menu :: web solutions


	//-- begin sub-menu :: about us
	missionON = new Image();
	missionOFF = new Image();
	approachON = new Image();
	approachOFF = new Image();
	teamON = new Image();
	teamOFF = new Image();
	partnersON = new Image();
	partnersOFF = new Image();

    missionON.src = "images/links/mission_over.gif";
    missionOFF.src = "images/links/mission.gif";
    approachON.src = "images/links/approach_over.gif";
    approachOFF.src = "images/links/approach.gif";
    teamON.src = "images/links/team_over.gif";
    teamOFF.src = "images/links/team.gif";
    partnersON.src = "images/links/partners_over.gif";
    partnersOFF.src = "images/links/partners.gif";
	//-- end sub-menu :: about us


	//-- begin sub-menu :: clients
	clientsON = new Image();
	clientsOFF = new Image();
	storiesON = new Image();
	storiesOFF = new Image();
	resourceON = new Image();
	resourceOFF = new Image();

    clientsON.src = "images/links/clients_over.gif";
    clientsOFF.src = "images/links/clients.gif";
    storiesON.src = "images/links/stories_over.gif";
    storiesOFF.src = "images/links/stories.gif";
    resourceON.src = "images/links/resource_over.gif";
    resourceOFF.src = "images/links/resource.gif";
	//-- end sub-menu :: clients


	//-- begin sub-menu :: contact us
	locationON = new Image();
	locationOFF = new Image();
	careersON = new Image();
	careersOFF = new Image();
	internshipsON = new Image();
	internshipsOFF = new Image();
	submitON = new Image();
	submitOFF = new Image();
	clearON = new Image();
	clearOFF = new Image();
	helpON = new Image();
	helpOFF = new Image();
	

    locationON.src = "images/links/location_over.gif";
    locationOFF.src = "images/links/location.gif";
    careersON.src = "images/links/careers_over.gif";
    careersOFF.src = "images/links/careers.gif";
    internshipsON.src = "images/links/internships_over.gif";
    internshipsOFF.src = "images/links/internships.gif";
    submitON.src = "images/submit_over.gif";
    submitOFF.src = "images/submit.gif";
    clearON.src = "images/clear_over.gif";
    clearOFF.src = "images/clear.gif";
	helpON.src = "/images/links/help_over.gif";
    helpOFF.src = "/images/links/help.gif";
	//-- end sub-menu :: contact us



	//-- begin  mouse-over images --
	arrow1ON = new Image();
	arrow1OFF = new Image();
	arrow2ON = new Image();
	arrow2OFF = new Image();
	
	arrow1ON.src = "images/arrow1_over.gif";
    arrow1OFF.src = "images/arrow1.gif";
	arrow2ON.src = "images/arrow2_over.gif";
    arrow2OFF.src = "images/arrow2.gif";
	//-- end  mouse-over images --
	
}
function imgOn(imgName) {

    if (document.images) {
    document[imgName].src = eval(imgName + "ON.src");
    }
  }
function imgOff(imgName) {
   if (document.images) {
    document[imgName].src = eval(imgName + "OFF.src");
   }
 }
//-->
