//
dEI("we-use-flex").onmouseover = function(){
	if(this.className == "we-use-flex_up"){
		this.className = "we-use-flex_over";
	}
	
	if(dEI("tooltip").className == "hide"){
		dEI("tooltip_title").innerHTML = "Adobe Flex";
		dEI("tooltip_txt").innerHTML = "We use Adobe Flex whenever we want to create engaging interactive content. Flex runs on the more recognized Adobe Flash technology called ActionScript (version 3.0)";
		dEI("tooltip").className = "show";
	}
}
dEI("we-use-flex").onmousemove = function(event){
	showMouseCords(event);		
}
dEI("we-use-flex").onmouseout = function(){
	if(this.className == "we-use-flex_over"){
		this.className = "we-use-flex_up";
	}
	closeToolTip();
}
dEI("we-use-air").onmouseover = function(){
	if(this.className == "we-use-air_up"){
		this.className = "we-use-air_over";
	}
	if(dEI("tooltip").className == "hide"){
		dEI("tooltip_title").innerHTML = "Adobe AIR";
		dEI("tooltip_txt").innerHTML = "We use Adobe AIR whenever we want to create engaging interactive content that will end up living on the Desktop. AIR can create truely compelling widgets.";
		dEI("tooltip").className = "show";
	}
}
dEI("we-use-air").onmousemove = function(event){
	showMouseCords(event);		
}
dEI("we-use-air").onmouseout = function(){
	if(this.className == "we-use-air_over"){
		this.className = "we-use-air_up";
	}
	closeToolTip();
	
}
dEI("we-use-flash").onmouseover = function(){
	if(this.className == "we-use-flash_up"){
		this.className = "we-use-flash_over";
	}
	
	if(dEI("tooltip").className == "hide"){
		dEI("tooltip_title").innerHTML = "Adobe Flash";
		dEI("tooltip_txt").innerHTML = "We use Adobe Flash in conjunction with PHP and MySQL to create some really dynamic interfaces and programs. We also let flash do the heavy lifting when it comes to custom animations.";
		dEI("tooltip").className = "show";
	}
}
dEI("we-use-flash").onmousemove = function(event){
	showMouseCords(event);		
}
dEI("we-use-flash").onmouseout = function(){
	if(this.className == "we-use-flash_over"){
		this.className = "we-use-flash_up";
	}
	closeToolTip();
	
}
dEI("we-use-dreamweaver").onmouseover = function(){
	if(this.className == "we-use-dreamweaver_up"){
		this.className = "we-use-dreamweaver_over";
	}
	if(dEI("tooltip").className == "hide"){
		dEI("tooltip_title").innerHTML = "Adobe Dreamweaver";
		dEI("tooltip_txt").innerHTML = "We use Adobe Dreamweaver to help speed up the process of styling and building all of our websites.";
		dEI("tooltip").className = "show";
	}
}
dEI("we-use-dreamweaver").onmousemove = function(event){
	showMouseCords(event);		
}
dEI("we-use-dreamweaver").onmouseout = function(){
	if(this.className == "we-use-dreamweaver_over"){
		this.className = "we-use-dreamweaver_up";
	}
	closeToolTip();
	
}
dEI("we-use-photoshop").onmouseover = function(){
	if(this.className == "we-use-photoshop_up"){
		this.className = "we-use-photoshop_over";
	}
	if(dEI("tooltip").className == "hide"){
		dEI("tooltip_title").innerHTML = "Adobe Photoshop";
		dEI("tooltip_txt").innerHTML = "We use Adobe Photoshop to create our mock-ups for all of our UI, whether it is for a website, or another form of design, this tool allows us to use industry standards to create our work.";
		dEI("tooltip").className = "show";
	}
}
dEI("we-use-photoshop").onmousemove = function(event){
	showMouseCords(event);
}
dEI("we-use-photoshop").onmouseout = function(){
	if(this.className == "we-use-photoshop_over"){
		this.className = "we-use-photoshop_up";
	}
	closeToolTip();
}
dEI("we-use-scriptaculous").onmouseover = function(){
	if(this.className == "we-use-scriptaculous_up"){
		this.className = "we-use-scriptaculous_over";
	}
	if(dEI("tooltip").className == "hide"){
		dEI("tooltip_title").innerHTML = "Scriptaculous Library";
		dEI("tooltip_txt").innerHTML = "We use the Open-Source Scriptaculous Javascript Library to help speed up the process of building Rich, Next generation websites.";
		dEI("tooltip").className = "show";
	}
}
dEI("we-use-scriptaculous").onmousemove = function(event){
	showMouseCords(event);
}
dEI("we-use-scriptaculous").onmouseout = function(){
	if(this.className == "we-use-scriptaculous_over"){
		this.className = "we-use-scriptaculous_up";
	}
	closeToolTip();
}
dEI("we-use-ruby-on-rails").onmouseover = function(){
	if(this.className == "we-use-ruby-on-rails_up"){
		this.className = "we-use-ruby-on-rails_over";
	}
	if(dEI("tooltip").className == "hide"){
		dEI("tooltip_title").innerHTML = "Ruby on Rails";
		dEI("tooltip_txt").innerHTML = "We use the Ruby on Rails Framework for building responsive web applications. RoR allows us to build scalable web applications with relative ease on our end.";
		dEI("tooltip").className = "show";
	}
}
dEI("we-use-ruby-on-rails").onmousemove = function(event){
	showMouseCords(event);
}
dEI("we-use-ruby-on-rails").onmouseout = function(){
	if(this.className == "we-use-ruby-on-rails_over"){
		this.className = "we-use-ruby-on-rails_up";
	}
	closeToolTip();
}
dEI("we-use-prototype-js-lib").onmouseover = function(){
	if(this.className == "we-use-prototype-js-lib_up"){
		this.className = "we-use-prototype-js-lib_over";
	}
	if(dEI("tooltip").className == "hide"){
		dEI("tooltip_title").innerHTML = "We Use Prototype-JS";
		dEI("tooltip_txt").innerHTML = "It is common sense in the developers community to never reinvent the wheel, we try not to unless we really need to, and Prototype JS is a godsend!";
		dEI("tooltip").className = "show";
	}
}
dEI("we-use-prototype-js-lib").onmousemove = function(event){
	showMouseCords(event);	
}
dEI("we-use-prototype-js-lib").onmouseout = function(){
	if(this.className == "we-use-prototype-js-lib_over"){
		this.className = "we-use-prototype-js-lib_up";
	}
	closeToolTip();
}
dEI("we-use-mysql").onmouseover = function(){
	if(this.className == "we-use-mysql_up"){
		this.className = "we-use-mysql_over";
	}
	if(dEI("tooltip").className == "hide"){
		dEI("tooltip_title").innerHTML = "We Use mySQL";
		dEI("tooltip_txt").innerHTML = "Whenever a project requires data collection or dynamic page generation, we choose mySQL for that database needs.";
		dEI("tooltip").className = "show";
	}
}
dEI("we-use-mysql").onmousemove = function(event){
	showMouseCords(event);	
}
dEI("we-use-mysql").onmouseout = function(){
	if(this.className == "we-use-mysql_over"){
		this.className = "we-use-mysql_up";
	}
	closeToolTip();
}
dEI("we-use-php").onmouseover = function(){
	if(this.className == "we-use-php_up"){
		this.className = "we-use-php_over";
	}
	if(dEI("tooltip").className == "hide"){
		dEI("tooltip_title").innerHTML = "We Use PHP 5";
		dEI("tooltip_txt").innerHTML = "When Ruby isn't the perfect choice for a project, we fall back on the stability of PHP 5. When used correctly, PHP has capabilities of making truely stunning interactive datadriven websites.";
		dEI("tooltip").className = "show";
	}
}
dEI("we-use-php").onmousemove = function(event){
	showMouseCords(event);	
}
dEI("we-use-php").onmouseout = function(){
	if(this.className == "we-use-php_over"){
		this.className = "we-use-php_up";
	}
	closeToolTip();
}
// we create custom facebook applications
dEI("we-make-facebook-applications").onmouseover = function(){
	if(this.className == "we-make-facebook-applications_up"){
		this.className = "we-make-facebook-applications_over";
	}
	if(dEI("tooltip").className == "hide"){
		dEI("tooltip_title").innerHTML = "We Make Facebook Applications";
		dEI("tooltip_txt").innerHTML = "With over 200,000,000 users and growing, Facebook offers the best platform to build and deploy any sort of custom application, game or micro-site.";
		dEI("tooltip").className = "show";
	}
}
dEI("we-make-facebook-applications").onmousemove = function(event){
	showMouseCords(event);	
}
dEI("we-make-facebook-applications").onmouseout = function(){
	if(this.className == "we-make-facebook-applications_over"){
		this.className = "we-make-facebook-applications_up";
	}
	closeToolTip();
}
//
dEI("adobe-site-of-the-day").onmouseover = function(){
	if(this.className == "adobe-site-of-the-day_up"){
		this.className = "adobe-site-of-the-day_over";
	}
	if(dEI("tooltip").className == "hide"){
		dEI("tooltip_title").innerHTML = "Adobe Site of the Day";
		dEI("tooltip_txt").innerHTML = "Pro Aerial Video - 8-2-07<br>This award is given for a website that is created using Adobe products but excels in standards based design, coding, and uniqueness.";
		dEI("tooltip").className = "show";
	}
}
dEI("adobe-site-of-the-day").onmousemove = function(event){
	showMouseCords(event);	
}
dEI("adobe-site-of-the-day").onmouseout = function(){
	if(this.className == "adobe-site-of-the-day_over"){
		this.className = "adobe-site-of-the-day_up";
	}
	closeToolTip();
}
dEI("asod").onclick = function(){
	gotoPage('http://www.adobe.com/cfusion/showcase/index.cfm?event=sotdarchive&year=2007&month=8&loc=en_us');
}
if(dEI("my-design-award")){
dEI("my-design-award").onmouseover = function(){
	if(this.className == "my-design-award_up"){
		this.className = "my-design-award_over";
	}
	if(dEI("tooltip").className == "hide"){
		dEI("tooltip_title").innerHTML = "MyDesignAward";
		dEI("tooltip_txt").innerHTML = "Winner of the December 5th - Featured Website's on MyDesignAwards.com for Newfront Creative's redesign.";
		dEI("tooltip").className = "show";
	}
}
dEI("my-design-award").onmousemove = function(event){
	showMouseCords(event);	
}
dEI("my-design-award").onmouseout = function(){
	if(this.className == "my-design-award_over"){
		this.className = "my-design-award_up";
	}
	closeToolTip();
}
dEI("mdaw").onclick = function(){
	gotoPage(' http://www.mydesignaward.com/SITE/www.newfrontcreative.com/9087.html');
}
}
dEI("google-maps-fav-place").onmouseover = function(){
	if(this.className == "gmapsfav_up"){
		this.className = "gmapsfav_over";
	}
	if(dEI("tooltip").className == "hide"){
		dEI("tooltip_title").innerHTML = "Google Maps Favorite Place";
		dEI("tooltip_txt").innerHTML = "Newfront Creative - 1-9-09<br>Google awarded Newfront Creative with the Google Maps Local Business Favorite Place award.";
		dEI("tooltip").className = "show";
	}
}
dEI("google-maps-fav-place").onmousemove = function(event){
	showMouseCords(event);	
}
dEI("google-maps-fav-place").onmouseout = function(){
	if(this.className == "gmapsfav_over"){
		this.className = "gmapsfav_up";
	}
	closeToolTip();
}
dEI("gmapsfav").onclick = function(){
	gotoPage('#');
}
dEI("newfront-creative-logo").onclick = function(){
	gotoPage('/');
}


window.onresize = function(){
	goForm();
	if(dEI("dim")){
		if(window.ActiveXObject){
			if(dEI("dim").style.display == "block"){
				goDim();	
			}
		}
	}
}