﻿/*	SWFObject v2.2 <http://code.google.com/p/swfobject/> 
	is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> 
*/
var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="onreadystatechange",O=window,j=document,t=navigator,T=false,U=[h],o=[],N=[],I=[],l,Q,E,B,J=false,a=false,n,G,m=true,M=function(){var aa=typeof j.getElementById!=D&&typeof j.getElementsByTagName!=D&&typeof j.createElement!=D,ah=t.userAgent.toLowerCase(),Y=t.platform.toLowerCase(),ae=Y?/win/.test(Y):/win/.test(ah),ac=Y?/mac/.test(Y):/mac/.test(ah),af=/webkit/.test(ah)?parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,X=!+"\v1",ag=[0,0,0],ab=null;if(typeof t.plugins!=D&&typeof t.plugins[S]==r){ab=t.plugins[S].description;if(ab&&!(typeof t.mimeTypes!=D&&t.mimeTypes[q]&&!t.mimeTypes[q].enabledPlugin)){T=true;X=false;ab=ab.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ag[0]=parseInt(ab.replace(/^(.*)\..*$/,"$1"),10);ag[1]=parseInt(ab.replace(/^.*\.(.*)\s.*$/,"$1"),10);ag[2]=/[a-zA-Z]/.test(ab)?parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof O.ActiveXObject!=D){try{var ad=new ActiveXObject(W);if(ad){ab=ad.GetVariable("$version");if(ab){X=true;ab=ab.split(" ")[1].split(",");ag=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}}catch(Z){}}}return{w3:aa,pv:ag,wk:af,ie:X,win:ae,mac:ac}}(),k=function(){if(!M.w3){return}if((typeof j.readyState!=D&&j.readyState=="complete")||(typeof j.readyState==D&&(j.getElementsByTagName("body")[0]||j.body))){f()}if(!J){if(typeof j.addEventListener!=D){j.addEventListener("DOMContentLoaded",f,false)}if(M.ie&&M.win){j.attachEvent(x,function(){if(j.readyState=="complete"){j.detachEvent(x,arguments.callee);f()}});if(O==top){(function(){if(J){return}try{j.documentElement.doScroll("left")}catch(X){setTimeout(arguments.callee,0);return}f()})()}}if(M.wk){(function(){if(J){return}if(!/loaded|complete/.test(j.readyState)){setTimeout(arguments.callee,0);return}f()})()}s(f)}}();function f(){if(J){return}try{var Z=j.getElementsByTagName("body")[0].appendChild(C("span"));Z.parentNode.removeChild(Z)}catch(aa){return}J=true;var X=U.length;for(var Y=0;Y<X;Y++){U[Y]()}}function K(X){if(J){X()}else{U[U.length]=X}}function s(Y){if(typeof O.addEventListener!=D){O.addEventListener("load",Y,false)}else{if(typeof j.addEventListener!=D){j.addEventListener("load",Y,false)}else{if(typeof O.attachEvent!=D){i(O,"onload",Y)}else{if(typeof O.onload=="function"){var X=O.onload;O.onload=function(){X();Y()}}else{O.onload=Y}}}}}function h(){if(T){V()}else{H()}}function V(){var X=j.getElementsByTagName("body")[0];var aa=C(r);aa.setAttribute("type",q);var Z=X.appendChild(aa);if(Z){var Y=0;(function(){if(typeof Z.GetVariable!=D){var ab=Z.GetVariable("$version");if(ab){ab=ab.split(" ")[1].split(",");M.pv=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}else{if(Y<10){Y++;setTimeout(arguments.callee,10);return}}X.removeChild(aa);Z=null;H()})()}else{H()}}function H(){var ag=o.length;if(ag>0){for(var af=0;af<ag;af++){var Y=o[af].id;var ab=o[af].callbackFn;var aa={success:false,id:Y};if(M.pv[0]>0){var ae=c(Y);if(ae){if(F(o[af].swfVersion)&&!(M.wk&&M.wk<312)){w(Y,true);if(ab){aa.success=true;aa.ref=z(Y);ab(aa)}}else{if(o[af].expressInstall&&A()){var ai={};ai.data=o[af].expressInstall;ai.width=ae.getAttribute("width")||"0";ai.height=ae.getAttribute("height")||"0";if(ae.getAttribute("class")){ai.styleclass=ae.getAttribute("class")}if(ae.getAttribute("align")){ai.align=ae.getAttribute("align")}var ah={};var X=ae.getElementsByTagName("param");var ac=X.length;for(var ad=0;ad<ac;ad++){if(X[ad].getAttribute("name").toLowerCase()!="movie"){ah[X[ad].getAttribute("name")]=X[ad].getAttribute("value")}}P(ai,ah,Y,ab)}else{p(ae);if(ab){ab(aa)}}}}}else{w(Y,true);if(ab){var Z=z(Y);if(Z&&typeof Z.SetVariable!=D){aa.success=true;aa.ref=Z}ab(aa)}}}}}function z(aa){var X=null;var Y=c(aa);if(Y&&Y.nodeName=="OBJECT"){if(typeof Y.SetVariable!=D){X=Y}else{var Z=Y.getElementsByTagName(r)[0];if(Z){X=Z}}}return X}function A(){return !a&&F("6.0.65")&&(M.win||M.mac)&&!(M.wk&&M.wk<312)}function P(aa,ab,X,Z){a=true;E=Z||null;B={success:false,id:X};var ae=c(X);if(ae){if(ae.nodeName=="OBJECT"){l=g(ae);Q=null}else{l=ae;Q=X}aa.id=R;if(typeof aa.width==D||(!/%$/.test(aa.width)&&parseInt(aa.width,10)<310)){aa.width="310"}if(typeof aa.height==D||(!/%$/.test(aa.height)&&parseInt(aa.height,10)<137)){aa.height="137"}j.title=j.title.slice(0,47)+" - Flash Player Installation";var ad=M.ie&&M.win?"ActiveX":"PlugIn",ac="MMredirectURL="+O.location.toString().replace(/&/g,"%26")+"&MMplayerType="+ad+"&MMdoctitle="+j.title;if(typeof ab.flashvars!=D){ab.flashvars+="&"+ac}else{ab.flashvars=ac}if(M.ie&&M.win&&ae.readyState!=4){var Y=C("div");X+="SWFObjectNew";Y.setAttribute("id",X);ae.parentNode.insertBefore(Y,ae);ae.style.display="none";(function(){if(ae.readyState==4){ae.parentNode.removeChild(ae)}else{setTimeout(arguments.callee,10)}})()}u(aa,ab,X)}}function p(Y){if(M.ie&&M.win&&Y.readyState!=4){var X=C("div");Y.parentNode.insertBefore(X,Y);X.parentNode.replaceChild(g(Y),X);Y.style.display="none";(function(){if(Y.readyState==4){Y.parentNode.removeChild(Y)}else{setTimeout(arguments.callee,10)}})()}else{Y.parentNode.replaceChild(g(Y),Y)}}function g(ab){var aa=C("div");if(M.win&&M.ie){aa.innerHTML=ab.innerHTML}else{var Y=ab.getElementsByTagName(r)[0];if(Y){var ad=Y.childNodes;if(ad){var X=ad.length;for(var Z=0;Z<X;Z++){if(!(ad[Z].nodeType==1&&ad[Z].nodeName=="PARAM")&&!(ad[Z].nodeType==8)){aa.appendChild(ad[Z].cloneNode(true))}}}}}return aa}function u(ai,ag,Y){var X,aa=c(Y);if(M.wk&&M.wk<312){return X}if(aa){if(typeof ai.id==D){ai.id=Y}if(M.ie&&M.win){var ah="";for(var ae in ai){if(ai[ae]!=Object.prototype[ae]){if(ae.toLowerCase()=="data"){ag.movie=ai[ae]}else{if(ae.toLowerCase()=="styleclass"){ah+=' class="'+ai[ae]+'"'}else{if(ae.toLowerCase()!="classid"){ah+=" "+ae+'="'+ai[ae]+'"'}}}}}var af="";for(var ad in ag){if(ag[ad]!=Object.prototype[ad]){af+='<param name="'+ad+'" value="'+ag[ad]+'" />'}}aa.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+ah+">"+af+"</object>";N[N.length]=ai.id;X=c(ai.id)}else{var Z=C(r);Z.setAttribute("type",q);for(var ac in ai){if(ai[ac]!=Object.prototype[ac]){if(ac.toLowerCase()=="styleclass"){Z.setAttribute("class",ai[ac])}else{if(ac.toLowerCase()!="classid"){Z.setAttribute(ac,ai[ac])}}}}for(var ab in ag){if(ag[ab]!=Object.prototype[ab]&&ab.toLowerCase()!="movie"){e(Z,ab,ag[ab])}}aa.parentNode.replaceChild(Z,aa);X=Z}}return X}function e(Z,X,Y){var aa=C("param");aa.setAttribute("name",X);aa.setAttribute("value",Y);Z.appendChild(aa)}function y(Y){var X=c(Y);if(X&&X.nodeName=="OBJECT"){if(M.ie&&M.win){X.style.display="none";(function(){if(X.readyState==4){b(Y)}else{setTimeout(arguments.callee,10)}})()}else{X.parentNode.removeChild(X)}}}function b(Z){var Y=c(Z);if(Y){for(var X in Y){if(typeof Y[X]=="function"){Y[X]=null}}Y.parentNode.removeChild(Y)}}function c(Z){var X=null;try{X=j.getElementById(Z)}catch(Y){}return X}function C(X){return j.createElement(X)}function i(Z,X,Y){Z.attachEvent(X,Y);I[I.length]=[Z,X,Y]}function F(Z){var Y=M.pv,X=Z.split(".");X[0]=parseInt(X[0],10);X[1]=parseInt(X[1],10)||0;X[2]=parseInt(X[2],10)||0;return(Y[0]>X[0]||(Y[0]==X[0]&&Y[1]>X[1])||(Y[0]==X[0]&&Y[1]==X[1]&&Y[2]>=X[2]))?true:false}function v(ac,Y,ad,ab){if(M.ie&&M.mac){return}var aa=j.getElementsByTagName("head")[0];if(!aa){return}var X=(ad&&typeof ad=="string")?ad:"screen";if(ab){n=null;G=null}if(!n||G!=X){var Z=C("style");Z.setAttribute("type","text/css");Z.setAttribute("media",X);n=aa.appendChild(Z);if(M.ie&&M.win&&typeof j.styleSheets!=D&&j.styleSheets.length>0){n=j.styleSheets[j.styleSheets.length-1]}G=X}if(M.ie&&M.win){if(n&&typeof n.addRule==r){n.addRule(ac,Y)}}else{if(n&&typeof j.createTextNode!=D){n.appendChild(j.createTextNode(ac+" {"+Y+"}"))}}}function w(Z,X){if(!m){return}var Y=X?"visible":"hidden";if(J&&c(Z)){c(Z).style.visibility=Y}else{v("#"+Z,"visibility:"+Y)}}function L(Y){var Z=/[\\\"<>\.;]/;var X=Z.exec(Y)!=null;return X&&typeof encodeURIComponent!=D?encodeURIComponent(Y):Y}var d=function(){if(M.ie&&M.win){window.attachEvent("onunload",function(){var ac=I.length;for(var ab=0;ab<ac;ab++){I[ab][0].detachEvent(I[ab][1],I[ab][2])}var Z=N.length;for(var aa=0;aa<Z;aa++){y(N[aa])}for(var Y in M){M[Y]=null}M=null;for(var X in swfobject){swfobject[X]=null}swfobject=null})}}();return{registerObject:function(ab,X,aa,Z){if(M.w3&&ab&&X){var Y={};Y.id=ab;Y.swfVersion=X;Y.expressInstall=aa;Y.callbackFn=Z;o[o.length]=Y;w(ab,false)}else{if(Z){Z({success:false,id:ab})}}},getObjectById:function(X){if(M.w3){return z(X)}},embedSWF:function(ab,ah,ae,ag,Y,aa,Z,ad,af,ac){var X={success:false,id:ah};if(M.w3&&!(M.wk&&M.wk<312)&&ab&&ah&&ae&&ag&&Y){w(ah,false);K(function(){ae+="";ag+="";var aj={};if(af&&typeof af===r){for(var al in af){aj[al]=af[al]}}aj.data=ab;aj.width=ae;aj.height=ag;var am={};if(ad&&typeof ad===r){for(var ak in ad){am[ak]=ad[ak]}}if(Z&&typeof Z===r){for(var ai in Z){if(typeof am.flashvars!=D){am.flashvars+="&"+ai+"="+Z[ai]}else{am.flashvars=ai+"="+Z[ai]}}}if(F(Y)){var an=u(aj,am,ah);if(aj.id==ah){w(ah,true)}X.success=true;X.ref=an}else{if(aa&&A()){aj.data=aa;P(aj,am,ah,ac);return}else{w(ah,true)}}if(ac){ac(X)}})}else{if(ac){ac(X)}}},switchOffAutoHideShow:function(){m=false},ua:M,getFlashPlayerVersion:function(){return{major:M.pv[0],minor:M.pv[1],release:M.pv[2]}},hasFlashPlayerVersion:F,createSWF:function(Z,Y,X){if(M.w3){return u(Z,Y,X)}else{return undefined}},showExpressInstall:function(Z,aa,X,Y){if(M.w3&&A()){P(Z,aa,X,Y)}},removeSWF:function(X){if(M.w3){y(X)}},createCSS:function(aa,Z,Y,X){if(M.w3){v(aa,Z,Y,X)}},addDomLoadEvent:K,addLoadEvent:s,getQueryParamValue:function(aa){var Z=j.location.search||j.location.hash;if(Z){if(/\?/.test(Z)){Z=Z.split("?")[1]}if(aa==null){return L(Z)}var Y=Z.split("&");for(var X=0;X<Y.length;X++){if(Y[X].substring(0,Y[X].indexOf("="))==aa){return L(Y[X].substring((Y[X].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(a){var X=c(R);if(X&&l){X.parentNode.replaceChild(l,X);if(Q){w(Q,true);if(M.ie&&M.win){l.style.display="block"}}if(E){E(B)}}a=false}}}}();

/**
 * Flash (http://jquery.lukelutman.com/plugins/flash)
 * A jQuery plugin for embedding Flash movies.
 * 
 * Version 1.0

 *
 **/ 
/* -------------------------------------------------------    Flash Embed  plugin     --------------------------------------------------------*/
;(function(){
	
var $$;


$$ = jQuery.fn.flash = function(htmlOptions, pluginOptions, replace, update) {
	
	// Set the default block.
	var block = replace || $$.replace;
	
	// Merge the default and passed plugin options.
	pluginOptions = $$.copy($$.pluginOptions, pluginOptions);
	
	// Detect Flash.
	if(!$$.hasFlash(pluginOptions.version)) {
		// Use Express Install (if specified and Flash plugin 6,0,65 or higher is installed).
		if(pluginOptions.expressInstall && $$.hasFlash(6,0,65)) {
			// Add the necessary flashvars (merged later).
			var expressInstallOptions = {
				flashvars: {  	
					MMredirectURL: location,
					MMplayerType: 'PlugIn',
					MMdoctitle: jQuery('title').text() 
				}					
			};
		// Ask the user to update (if specified).
		} else if (pluginOptions.update) {
			// Change the block to insert the update message instead of the flash movie.
			block = update || $$.update;
		// Fail
		} else {
			// The required version of flash isn't installed.
			// Express Install is turned off, or flash 6,0,65 isn't installed.
			// Update is turned off.
			// Return without doing anything.
			return this;
		}
	}
	
	// Merge the default, express install and passed html options.
	htmlOptions = $$.copy($$.htmlOptions, expressInstallOptions, htmlOptions);
	
	// Invoke $block (with a copy of the merged html options) for each element.
	return this.each(function(){
		block.call(this, $$.copy(htmlOptions));
	});
	
};
/**
 *
 * @name flash.copy
 * @desc Copy an arbitrary number of objects into a new object.
 * @type Object
 * 
 * @example $$.copy({ foo: 1 }, { bar: 2 });
 * @result { foo: 1, bar: 2 };
 *
**/
$$.copy = function() {
	var options = {}, flashvars = {};
	for(var i = 0; i < arguments.length; i++) {
		var arg = arguments[i];
		if(arg == undefined) continue;
		jQuery.extend(options, arg);
		// don't clobber one flash vars object with another
		// merge them instead
		if(arg.flashvars == undefined) continue;
		jQuery.extend(flashvars, arg.flashvars);
	}
	options.flashvars = flashvars;
	return options;
};
/*
 * @name flash.hasFlash
 * @desc Check if a specific version of the Flash plugin is installed
 * @type Boolean
 *
**/
$$.hasFlash = function() {
	// look for a flag in the query string to bypass flash detection
	if(/hasFlash\=true/.test(location)) return true;
	if(/hasFlash\=false/.test(location)) return false;
	var pv = $$.hasFlash.playerVersion().match(/\d+/g);
	var rv = String([arguments[0], arguments[1], arguments[2]]).match(/\d+/g) || String($$.pluginOptions.version).match(/\d+/g);
	for(var i = 0; i < 3; i++) {
		pv[i] = parseInt(pv[i] || 0);
		rv[i] = parseInt(rv[i] || 0);
		// player is less than required
		if(pv[i] < rv[i]) return false;
		// player is greater than required
		if(pv[i] > rv[i]) return true;
	}
	// major version, minor version and revision match exactly
	return true;
};
/**
 *
 * @name flash.hasFlash.playerVersion
 * @desc Get the version of the installed Flash plugin.
 * @type String
 *
**/
$$.hasFlash.playerVersion = function() {
	// ie
	try {
		try {
			// avoid fp6 minor version lookup issues
			// see: http://blog.deconcept.com/2006/01/11/getvariable-setvariable-crash-internet-explorer-flash-6/
			var axo = new ActiveXObject('ShockwaveFlash.ShockwaveFlash.6');
			try { axo.AllowScriptAccess = 'always';	} 
			catch(e) { return '6,0,0'; }				
		} catch(e) {}
		return new ActiveXObject('ShockwaveFlash.ShockwaveFlash').GetVariable('$version').replace(/\D+/g, ',').match(/^,?(.+),?$/)[1];
	// other browsers
	} catch(e) {
		try {
			if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){
				return (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g, ",").match(/^,?(.+),?$/)[1];
			}
		} catch(e) {}		
	}
	return '0,0,0';
};
/**
 *
 * @name flash.htmlOptions
 * @desc The default set of options for the object or embed tag.
 *
**/
$$.htmlOptions = {
	height: 240,
	flashvars: {},
	pluginspage: 'http://www.adobe.com/go/getflashplayer',
	src: '#',
	type: 'application/x-shockwave-flash',
	width: 320		
};
/**
 *
 * @name flash.pluginOptions
 * @desc The default set of options for checking/updating the flash Plugin.
 *
**/
$$.pluginOptions = {
	expressInstall: false,
	update: true,
	version: '6.0.65'
};
/**
 *
 * @name flash.replace
 * @desc The default method for replacing an element with a Flash movie.
 *
**/
$$.replace = function(htmlOptions) {
	this.innerHTML = '<div class="alt">'+this.innerHTML+'</div>';
	jQuery(this)
		.addClass('flash-replaced')
		.prepend($$.transform(htmlOptions));
};
/**
 *
 * @name flash.update
 * @desc The default method for replacing an element with an update message.
 *
**/
$$.update = function(htmlOptions) {
	var url = String(location).split('?');
	url.splice(1,0,'?hasFlash=true&');
	url = url.join('');
	var msg = '';
	this.innerHTML = '<span class="alt">'+this.innerHTML+'</span>';
	jQuery(this)
		.addClass('flash-update')
		.prepend(msg);
};
/**
 *
 * @desc Convert a hash of html options to a string of attributes, using Function.apply(). 
 * @example toAttributeString.apply(htmlOptions)
 * @result foo="bar" foo="bar"
 *
**/
function toAttributeString() {
	var s = '';
	for(var key in this)
		if(typeof this[key] != 'function')
			s += key+'="'+this[key]+'" ';
	return s;		
};
/**
 *
 * @desc Convert a hash of flashvars to a url-encoded string, using Function.apply(). 
 * @example toFlashvarsString.apply(flashvarsObject)
 * @result foo=bar&foo=bar
 *
**/
function toFlashvarsString() {
	var s = '';
	for(var key in this)
		if(typeof this[key] != 'function')
			s += key+'='+encodeURIComponent(this[key])+'&';
	return s.replace(/&$/, '');		
};
/**
 *
 * @name flash.transform
 * @desc Transform a set of html options into an embed tag.
 * @type String 
 *
 * @example $$.transform(htmlOptions)
 * @result <embed src="foo.swf" ... />
 *
 * Note: The embed tag is NOT standards-compliant, but it 
 * works in all current browsers. flash.transform can be
 * overwritten with a custom function to generate more 
 * standards-compliant markup.
 *
**/
$$.transform = function(htmlOptions) {
	htmlOptions.toString = toAttributeString;
	if(htmlOptions.flashvars) htmlOptions.flashvars.toString = toFlashvarsString;
	return '<embed ' + String(htmlOptions) + '/>';		
};

/**
 *
 * Flash Player 9 Fix (http://blog.deconcept.com/2006/07/28/swfobject-143-released/)
 *
**/
if (window.attachEvent) {
	window.attachEvent("onbeforeunload", function(){
		__flash_unloadHandler = function() {};
		__flash_savedUnloadHandler = function() {};
	});
}
	
})();

// Global vars for newletter scroll
var text;
var countLetters;


// Start of Jquery on Dom load Wrap 
$(function(){

	// Init background body flash
var Movie = $('#Movie').length;
if (Movie){
	$('#Movie').flash({
		src: '/flash/bkgrd.swf',
		width:'100%',
		height:'100%',
		flashvars: {imagePth:theBG},
		wmode:'transparent'
	});
}
var Sun = $('#homeSun').length;
if(Sun){
	// Home page sun
	swfobject.embedSWF('flash/sun.swf', "homeSun", "227", "112", "9.0.0", "");
	/*$('#homeSun').flash({
		src: 'flash/sun.swf',
		width:'227px',
		height:'112px',
		wmode:'Transparent'
	});*/
}
var flashHead1 = $('h3#flashHead1').length;
if(flashHead1){
	swfobject.embedSWF(flashHead1Src, "flashHead1", "182", "116", "9.0.0", "");
	// Homepage 3 box's
	/*$('h3#flashHead1').flash({
		src: flashHead1Src,
		width:'182px',
		height:'116px'
	});*/
}
var flashHead2 = $('h3#flashHead2').length;
if(flashHead2){
	swfobject.embedSWF(flashHead2Src, "flashHead2", "182", "116", "9.0.0", "");
	/*$('h3#flashHead2').flash({
		src: flashHead2Src,
		width:'182px',
		height:'116px'
	});*/
}
var flashHead3 = $('h3#flashHead3').length;
if(flashHead3){
	swfobject.embedSWF(flashHead3Src, "flashHead3", "182", "116", "9.0.0", "");
	/*$('h3#flashHead3').flash({
		src: flashHead3Src,
		width:'182px',
		height:'116px'
	});*/
}
	
	// add support for iPad background
	// For use within normal web clients 
	var isiPad = navigator.userAgent.match(/iPad/i) != null;

	// For use within iPad developer UIWebView
	// Thanks to Andrew Hedges!
	var ua = navigator.userAgent;
	var isiPad = /iPad/i.test(ua) || /iPhone OS 3_1_2/i.test(ua) || /iPhone OS 3_2_2/i.test(ua);
	
	if(isiPad){
		$('body').css({
			background: 'url('+theBG+') center center fixed',
			backgroundSize: 'cover'						
		});
	}


	// Scroll to newsletter 
	// !INFO >> Other functions continue below jQuery on dom load wrapper << 
	$('a.newsletter').click(function(){
		$('input.fillMeIn').val(' ');
		var bottom = $(document).height();
		$('html,body').animate({scrollTop: bottom},1200,function(){passString();countLetters=0;});
	});


	// News switch 

	$('.newsPanel h4 a').live('click',function(){
		$('a.rss').insertBefore($(this).parent());
		if($(this).hasClass('selected')) return false;
		$('.newsPanel h4 a.selected').removeClass('selected');
		$('.newsPanel div').each(function(){$(this).hide();});
		$(this).addClass('selected').parent().next('div').show();
		$('.newsButton').hasClass('moreNewsBlue') 
			? $('.newsButton').addClass('moreNewsGreen').removeClass('moreNewsBlue') 
			: $('.newsButton').addClass('moreNewsBlue').removeClass('moreNewsGreen');
		return false;
	});
	//load googlemaps on dom load function below
	initialize();
	
   
    var gallery = $('.teamLeftCol ul.profile').length;
    if(gallery){
        $('.teamLeftCol ul li').children('a').click(function(){
            $('.teamLeftCol ul li').children('a').removeClass('selected');
            $('div.teamMidCol').empty();
            $('div.teamRightCol').empty();
            $(this).addClass('selected');
            $(this).siblings('h2').clone().appendTo('div.teamMidCol');
            $(this).siblings('h3').clone().appendTo('div.teamMidCol');
            $('<img/>').appendTo('div.teamMidCol');
            var src = $(this).attr('href');
            $('div.teamMidCol img').attr('src', src);
            $(this).siblings('ul').clone().appendTo('div.teamMidCol');
            $(this).siblings('div.info').clone().appendTo('div.teamRightCol');
            return false;
        });
        $('.teamLeftCol ul li a').first().trigger('click');
    }

	// Content switcher 

	var switcher = $('ul.switchCont').length;
	if(switcher){
			
			$('ul.switchCont li div.rdLink').each(function(num){
				if(num > 0)
				$(this).insertAfter('ul.switchCont li.content div.rdLink:last');
			});
			$('ul.switchCont li div.rdLink a').each(function(clickNum){
				$(this).click(function(){
					$('ul.switchCont li div.rdLink a').removeClass('selected');
					if(clickNum > 0){
					$('ul.switchCont li.content').find('div.content:first').hide();
					$('ul.switchCont li.content').find('div.content').not('div.contFirst').remove();
					 $(this).parents('.switchCont').find('div.content').eq(clickNum).clone().insertAfter('ul.switchCont li.content div.content');
					}
					else {
						$('ul.switchCont li.content').find('div.content:not("div.contFirst")').remove();
						$('ul.switchCont li.content').find("div.contFirst").show();
						
					}
					$(this).addClass('selected');
					return false;
				});
			});
		
	}
	
	// add classes to profile I's 
	
    function classLooper(passedClasses, passedSelecter){
		var icount = 0;
		var numOfClass = passedClasses.length;
		for(icount; icount<passedClasses.length; icount++){}
		$(passedSelecter).each(function(num){
		    if(icount == numOfClass) icount = 0;
		    $(this).addClass(passedClasses[icount]);
		    icount++;
		});
	}
	
	var isProfileLis = $('.teamLeftCol ul.profile li').length;
	if(isProfileLis){
	    var profileI = new Array('lBlue','yellow','dPurple','lGreen','red','dBlue','orange','dGreen','lPurple');
	    var iSelecter = $('.teamLeftCol ul.profile li').not('.teamLeftCol ul.profile li ul li');
	    classLooper(profileI, iSelecter);
	}
	
	// Client tooltips
	var ieLeft;
	var left;
    var top;
    var clientGall = $('div#workWithGal ul li').length;
    if(clientGall){
    $('<img src="/images/Quote/top.png" height="41" width="344" style=" top:-20px; position:absolute; left:0;"/>').appendTo('body').hide();
    $('<img src="/images/Quote/bottom.png" height="22" width="344" style=" bottom:-10px; position:absolute; left:0;"/>').appendTo('.body').hide();
        $('div#workWithGal ul li').mousemove(function(e){
            ieLeft = $(this).position().left;
            left = e.pageX;
            top = e.pageY
            $('div.tooltip').remove();
            var alt = $(this).children('img').attr('longdesc');
            if(alt){
                $('<div class="tooltip"></div>').appendTo('#container');
                $('<p></p>').appendTo('div.tooltip');
                $('.tooltip p').text(alt);
                $('div.tooltip').css('left',left + 35);
                 $('div.tooltip').css('top', top - 5);
                 if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){
                    var ieversion=new Number(RegExp.$1);
                        if (ieversion<=6){
                           $('div.tooltip').css({'left':ieLeft + 150});
                        }
                    }
                 
                 $('<img src="/images/Quote/top.png" height="41" width="344" style=" top:-20px; position:absolute; left:0;"/>').prependTo('.tooltip');
                 $('<img src="/images/Quote/bottom.png" height="22" width="344" style=" bottom:-10px; position:absolute; left:0;"/>').appendTo('.tooltip');
             }
       }); 
       $('div#workWithGal ul li').mouseout(function(){
            $('div.tooltip').remove();
       });
   }
       
       
   var isTabPanel = $('.tabWrap ul.tabs li').length;
   if(isTabPanel){
        $('.tabPanels div.content div.panelWrap:gt(0)').hide();
        $('ul.tabs li div.notSelected:eq(0)').hide();
        $('ul.tabs li div.selected:eq(0)').show();
            $('ul.tabs li').each(function(num){
            $(this).click(function(){
                $('ul.tabs li div.selected').hide();
                $('ul.tabs li div.notSelected').show();
                $(this).children('div.selected').show();
                $(this).children('div.notSelected').hide();
                showTab(num);
                return false;
            });
        });
        function fixPanel(){
            if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){
                var ieversion=new Number(RegExp.$1);
                if (ieversion<=6){
                    var tabHeight = $('div.panelWrap:first').height();
                    $('.tabPanels').height(tabHeight);
                }
            }
        }
   }
   function showTab(passedNum){
        $('.tabPanels div.content div.panelWrap').hide();
        var tabToShow = $('.tabPanels div.content div.panelWrap')[passedNum];
        $(tabToShow).show();
        if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){
            var ieversion=new Number(RegExp.$1);
            if (ieversion<=6){
                var tabHeight = $(tabToShow).height();
                $('.tabPanels').height(tabHeight);
            }
        }
   }
   
   var loc = window.location;
   if(loc == 'http://rdsi-build.untitledagency.com/?'){
    var offsettop = parseInt($(document).height());
    window.scrollTo(0,offsettop);
    $('.newsletterPanel form').hide();
    $('.newsletterPanel h5').remove();
    $('<h3 style="margin-top:38px">Thank you for signing up</h3>').prependTo('.newsletterPanel');
    $('.newsletterPanel p').text('We will keep you informed of all our latest news.');
   }
    $('input.fillMeIn').keydown(function(){
        $(this).css('color','black');
    });
    $('input#oyujii-oyujii').keydown(function(){
        $(this).css('color','black');
    });
});
// End of jQuery on dom load wrapper

// Scroll to newsletter functions 

function passString(){
	text = new Array('S','i','g','n',' ','u','p',' ','h','e','r','e');
	if(text.length > countLetters){
		setTimeout('addVal(text[countLetters])',20);
	}
}
function addVal(passedVal){
	var InpVal = $('input.fillMeIn').val();
	var newVal = InpVal += passedVal;
	$('input.fillMeIn').val(newVal);
	countLetters++;
	passString();
}

//google maps 
function initialize() {
	var myLatlng = new google.maps.LatLng(51.5310900, -0.1023000);
	var myOptions = {
	  zoom: 16,
	  center: myLatlng,
		 disableDefaultUI: true,
		navigationControl: true,
		mapTypeId: google.maps.MapTypeId.ROADMAP
	}
	var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
	if(document.getElementById("map_canvasBig")){
	    var mapBig = new google.maps.Map(document.getElementById("map_canvasBig"), myOptions);
	    setMarkers(mapBig, address);
	}
	
	 setMarkers(map, address);
	}
	var address = [['RDSI', 51.5310900, -0.1023000, 10]];
	function setMarkers(map, locations){
		var image = new google.maps.MarkerImage('/images/googlemap-marker.png',
		new google.maps.Size(9, 39),
		new google.maps.Point(0,0),
		new google.maps.Point(0, 39));
		var shadow = new google.maps.MarkerImage('/images/googlemap-shadow.png',
		new google.maps.Size(21, 24),
		new google.maps.Point(0,0),
		new google.maps.Point(-2, 28));
		 var shape = {
	  coord: [1, 1, 1, 20, 18, 20, 18 , 1],
	  type: 'poly'
	};

	for (var i = 0; i < locations.length; i++) {
		var Home = locations[i];
		var myLatLng = new google.maps.LatLng(Home[1], Home[2]);
		var marker = new google.maps.Marker({
			position: myLatLng,
			map: map,
			shadow: shadow,
			icon: image,
			shape: shape,
			title: Home[0],
			zIndex: Home[3]
		});
	}

	var myLatlng2 = new google.maps.LatLng(53.7977075, -1.5522006);
    var myOptions2 = {
      zoom: 15,
      center: myLatlng2,
		 disableDefaultUI: true,
		navigationControl: true,
  		mapTypeId: google.maps.MapTypeId.ROADMAP
    }
    var map2 = new google.maps.Map(document.getElementById("map_canvas2"), myOptions2);
    if(document.getElementById("map_canvasBig2")){
        var mapBig2 = new google.maps.Map(document.getElementById("map_canvasBig2"), myOptions2);
        setMarkers2(mapBig2, address2);
    }
	 setMarkers2(map2, address2);
	}
	var address2 = [['RDSI Leeds', 53.7977075, -1.5522006, 10]];
	function setMarkers2(map, locations){
		var image = new google.maps.MarkerImage('/images/googlemap-marker.png',
		new google.maps.Size(9, 39),
		new google.maps.Point(0,0),
		new google.maps.Point(0, 39));
		var shadow = new google.maps.MarkerImage('/images/googlemap-shadow.png',
		new google.maps.Size(21, 24),
      	new google.maps.Point(0,0),
      	new google.maps.Point(-2, 28));
		 var shape = {
      coord: [1, 1, 1, 20, 18, 20, 18 , 1],
      type: 'poly'
  };

	for (var i = 0; i < locations.length; i++) {
		var Home = locations[i];
		var myLatLng = new google.maps.LatLng(Home[1], Home[2]);
		var marker = new google.maps.Marker({
			position: myLatLng,
			map: map,
			shadow: shadow,
			icon: image,
			shape: shape,
			title: Home[0],
			zIndex: Home[3]
		});
	}
}

// end of maps 

/*
 * Copyright (c) 2009 Simo Kinnunen.
 * Licensed under the MIT license.
 *
 * @version 1.09i
 */
var Cufon=(function(){var m=function(){return m.replace.apply(null,arguments)};var x=m.DOM={ready:(function(){var C=false,E={loaded:1,complete:1};var B=[],D=function(){if(C){return}C=true;for(var F;F=B.shift();F()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);window.addEventListener("pageshow",D,false)}if(!window.opera&&document.readyState){(function(){E[document.readyState]?D():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");D()}catch(F){setTimeout(arguments.callee,1)}})()}q(window,"load",D);return function(F){if(!arguments.length){D()}else{C?F():B.push(F)}}})(),root:function(){return document.documentElement||document.body}};var n=m.CSS={Size:function(C,B){this.value=parseFloat(C);this.unit=String(C).match(/[a-z%]*$/)[0]||"px";this.convert=function(D){return D/B*this.value};this.convertFrom=function(D){return D/this.value*B};this.toString=function(){return this.value+this.unit}},addClass:function(C,B){var D=C.className;C.className=D+(D&&" ")+B;return C},color:j(function(C){var B={};B.color=C.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(E,D,F){B.opacity=parseFloat(F);return"rgb("+D+")"});return B}),fontStretch:j(function(B){if(typeof B=="number"){return B}if(/%$/.test(B)){return parseFloat(B)/100}return{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[B]||1}),getStyle:function(C){var B=document.defaultView;if(B&&B.getComputedStyle){return new a(B.getComputedStyle(C,null))}if(C.currentStyle){return new a(C.currentStyle)}return new a(C.style)},gradient:j(function(F){var G={id:F,type:F.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},C=F.substr(F.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var E=0,B=C.length,D;E<B;++E){D=C[E].split("=",2).reverse();G.stops.push([D[1]||E/(B-1),D[0]])}return G}),quotedList:j(function(E){var D=[],C=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,B;while(B=C.exec(E)){D.push(B[3]||B[1])}return D}),recognizesMedia:j(function(G){var E=document.createElement("style"),D,C,B;E.type="text/css";E.media=G;try{E.appendChild(document.createTextNode("/**/"))}catch(F){}C=g("head")[0];C.insertBefore(E,C.firstChild);D=(E.sheet||E.styleSheet);B=D&&!D.disabled;C.removeChild(E);return B}),removeClass:function(D,C){var B=RegExp("(?:^|\\s+)"+C+"(?=\\s|$)","g");D.className=D.className.replace(B,"");return D},supports:function(D,C){var B=document.createElement("span").style;if(B[D]===undefined){return false}B[D]=C;return B[D]===C},textAlign:function(E,D,B,C){if(D.get("textAlign")=="right"){if(B>0){E=" "+E}}else{if(B<C-1){E+=" "}}return E},textShadow:j(function(F){if(F=="none"){return null}var E=[],G={},B,C=0;var D=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(B=D.exec(F)){if(B[0]==","){E.push(G);G={};C=0}else{if(B[1]){G.color=B[1]}else{G[["offX","offY","blur"][C++]]=B[2]}}}E.push(G);return E}),textTransform:(function(){var B={uppercase:function(C){return C.toUpperCase()},lowercase:function(C){return C.toLowerCase()},capitalize:function(C){return C.replace(/\b./g,function(D){return D.toUpperCase()})}};return function(E,D){var C=B[D.get("textTransform")];return C?C(E):E}})(),whiteSpace:(function(){var D={inline:1,"inline-block":1,"run-in":1};var C=/^\s+/,B=/\s+$/;return function(H,F,G,E){if(E){if(E.nodeName.toLowerCase()=="br"){H=H.replace(C,"")}}if(D[F.get("display")]){return H}if(!G.previousSibling){H=H.replace(C,"")}if(!G.nextSibling){H=H.replace(B,"")}return H}})()};n.ready=(function(){var B=!n.recognizesMedia("all"),E=false;var D=[],H=function(){B=true;for(var K;K=D.shift();K()){}};var I=g("link"),J=g("style");function C(K){return K.disabled||G(K.sheet,K.media||"screen")}function G(M,P){if(!n.recognizesMedia(P||"all")){return true}if(!M||M.disabled){return false}try{var Q=M.cssRules,O;if(Q){search:for(var L=0,K=Q.length;O=Q[L],L<K;++L){switch(O.type){case 2:break;case 3:if(!G(O.styleSheet,O.media.mediaText)){return false}break;default:break search}}}}catch(N){}return true}function F(){if(document.createStyleSheet){return true}var L,K;for(K=0;L=I[K];++K){if(L.rel.toLowerCase()=="stylesheet"&&!C(L)){return false}}for(K=0;L=J[K];++K){if(!C(L)){return false}}return true}x.ready(function(){if(!E){E=n.getStyle(document.body).isUsable()}if(B||(E&&F())){H()}else{setTimeout(arguments.callee,10)}});return function(K){if(B){K()}else{D.push(K)}}})();function s(D){var C=this.face=D.face,B={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=D.glyphs;this.w=D.w;this.baseSize=parseInt(C["units-per-em"],10);this.family=C["font-family"].toLowerCase();this.weight=C["font-weight"];this.style=C["font-style"]||"normal";this.viewBox=(function(){var F=C.bbox.split(/\s+/);var E={minX:parseInt(F[0],10),minY:parseInt(F[1],10),maxX:parseInt(F[2],10),maxY:parseInt(F[3],10)};E.width=E.maxX-E.minX;E.height=E.maxY-E.minY;E.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return E})();this.ascent=-parseInt(C.ascent,10);this.descent=-parseInt(C.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(L,N,E){var O=this.glyphs,M,K,G,P=[],F=0,J=-1,I=-1,H;while(H=L[++J]){M=O[H]||this.missingGlyph;if(!M){continue}if(K){F-=G=K[H]||0;P[I]-=G}F+=P[++I]=~~(M.w||this.w)+N+(B[H]?E:0);K=M.k}P.total=F;return P}}function f(){var C={},B={oblique:"italic",italic:"oblique"};this.add=function(D){(C[D.style]||(C[D.style]={}))[D.weight]=D};this.get=function(H,I){var G=C[H]||C[B[H]]||C.normal||C.italic||C.oblique;if(!G){return null}I={normal:400,bold:700}[I]||parseInt(I,10);if(G[I]){return G[I]}var E={1:1,99:0}[I%100],K=[],F,D;if(E===undefined){E=I>400}if(I==500){I=400}for(var J in G){if(!k(G,J)){continue}J=parseInt(J,10);if(!F||J<F){F=J}if(!D||J>D){D=J}K.push(J)}if(I<F){I=F}if(I>D){I=D}K.sort(function(M,L){return(E?(M>=I&&L>=I)?M<L:M>L:(M<=I&&L<=I)?M>L:M<L)?-1:1});return G[K[0]]}}function r(){function D(F,G){if(F.contains){return F.contains(G)}return F.compareDocumentPosition(G)&16}function B(G){var F=G.relatedTarget;if(!F||D(this,F)){return}C(this,G.type=="mouseover")}function E(F){C(this,F.type=="mouseenter")}function C(F,G){setTimeout(function(){var H=d.get(F).options;m.replace(F,G?h(H,H.hover):H,true)},10)}this.attach=function(F){if(F.onmouseenter===undefined){q(F,"mouseover",B);q(F,"mouseout",B)}else{q(F,"mouseenter",E);q(F,"mouseleave",E)}}}function u(){var C=[],D={};function B(H){var E=[],G;for(var F=0;G=H[F];++F){E[F]=C[D[G]]}return E}this.add=function(F,E){D[F]=C.push(E)-1};this.repeat=function(){var E=arguments.length?B(arguments):C,F;for(var G=0;F=E[G++];){m.replace(F[0],F[1],true)}}}function A(){var D={},B=0;function C(E){return E.cufid||(E.cufid=++B)}this.get=function(E){var F=C(E);return D[F]||(D[F]={})}}function a(B){var D={},C={};this.extend=function(E){for(var F in E){if(k(E,F)){D[F]=E[F]}}return this};this.get=function(E){return D[E]!=undefined?D[E]:B[E]};this.getSize=function(F,E){return C[F]||(C[F]=new n.Size(this.get(F),E))};this.isUsable=function(){return !!B}}function q(C,B,D){if(C.addEventListener){C.addEventListener(B,D,false)}else{if(C.attachEvent){C.attachEvent("on"+B,function(){return D.call(C,window.event)})}}}function v(C,B){var D=d.get(C);if(D.options){return C}if(B.hover&&B.hoverables[C.nodeName.toLowerCase()]){b.attach(C)}D.options=B;return C}function j(B){var C={};return function(D){if(!k(C,D)){C[D]=B.apply(null,arguments)}return C[D]}}function c(F,E){var B=n.quotedList(E.get("fontFamily").toLowerCase()),D;for(var C=0;D=B[C];++C){if(i[D]){return i[D].get(E.get("fontStyle"),E.get("fontWeight"))}}return null}function g(B){return document.getElementsByTagName(B)}function k(C,B){return C.hasOwnProperty(B)}function h(){var C={},B,F;for(var E=0,D=arguments.length;B=arguments[E],E<D;++E){for(F in B){if(k(B,F)){C[F]=B[F]}}}return C}function o(E,M,C,N,F,D){var K=document.createDocumentFragment(),H;if(M===""){return K}var L=N.separate;var I=M.split(p[L]),B=(L=="words");if(B&&t){if(/^\s/.test(M)){I.unshift("")}if(/\s$/.test(M)){I.push("")}}for(var J=0,G=I.length;J<G;++J){H=z[N.engine](E,B?n.textAlign(I[J],C,J,G):I[J],C,N,F,D,J<G-1);if(H){K.appendChild(H)}}return K}function l(D,M){var C=D.nodeName.toLowerCase();if(M.ignore[C]){return}var E=!M.textless[C];var B=n.getStyle(v(D,M)).extend(M);var F=c(D,B),G,K,I,H,L,J;if(!F){return}for(G=D.firstChild;G;G=I){K=G.nodeType;I=G.nextSibling;if(E&&K==3){if(H){H.appendData(G.data);D.removeChild(G)}else{H=G}if(I){continue}}if(H){D.replaceChild(o(F,n.whiteSpace(H.data,B,H,J),B,M,G,D),H);H=null}if(K==1){if(G.firstChild){if(G.nodeName.toLowerCase()=="cufon"){z[M.engine](F,null,B,M,G,D)}else{arguments.callee(G,M)}}J=G}}}var t=" ".split(/\s+/).length==0;var d=new A();var b=new r();var y=new u();var e=false;var z={},i={},w={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:(window.Sizzle||(window.jQuery&&function(B){return jQuery(B)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(B){return $$(B)})||(window.$&&function(B){return $(B)})||(document.querySelectorAll&&function(B){return document.querySelectorAll(B)})||g),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var p={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};m.now=function(){x.ready();return m};m.refresh=function(){y.repeat.apply(y,arguments);return m};m.registerEngine=function(C,B){if(!B){return m}z[C]=B;return m.set("engine",C)};m.registerFont=function(D){if(!D){return m}var B=new s(D),C=B.family;if(!i[C]){i[C]=new f()}i[C].add(B);return m.set("fontFamily",'"'+C+'"')};m.replace=function(D,C,B){C=h(w,C);if(!C.engine){return m}if(!e){n.addClass(x.root(),"cufon-active cufon-loading");n.ready(function(){n.addClass(n.removeClass(x.root(),"cufon-loading"),"cufon-ready")});e=true}if(C.hover){C.forceHitArea=true}if(C.autoDetect){delete C.fontFamily}if(typeof C.textShadow=="string"){C.textShadow=n.textShadow(C.textShadow)}if(typeof C.color=="string"&&/^-/.test(C.color)){C.textGradient=n.gradient(C.color)}else{delete C.textGradient}if(!B){y.add(D,arguments)}if(D.nodeType||typeof D=="string"){D=[D]}n.ready(function(){for(var F=0,E=D.length;F<E;++F){var G=D[F];if(typeof G=="string"){m.replace(C.selector(G),C,true)}else{l(G,C)}}});return m};m.set=function(B,C){w[B]=C;return m};return m})();Cufon.registerEngine("vml",(function(){var e=document.namespaces;if(!e){return}e.add("cvml","urn:schemas-microsoft-com:vml");e=null;var b=document.createElement("cvml:shape");b.style.behavior="url(#default#VML)";if(!b.coordsize){return}b=null;var h=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(h?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,"!important;"));function c(i,j){return a(i,/(?:em|ex|%)$|^[a-z-]+$/i.test(j)?"1em":j)}function a(l,m){if(m==="0"){return 0}if(/px$/i.test(m)){return parseFloat(m)}var k=l.style.left,j=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;l.style.left=m.replace("%","em");var i=l.style.pixelLeft;l.style.left=k;l.runtimeStyle.left=j;return i}function f(l,k,j,n){var i="computed"+n,m=k[i];if(isNaN(m)){m=k.get(n);k[i]=m=(m=="normal")?0:~~j.convertFrom(a(l,m))}return m}var g={};function d(p){var q=p.id;if(!g[q]){var n=p.stops,o=document.createElement("cvml:fill"),i=[];o.type="gradient";o.angle=180;o.focus="0";o.method="sigma";o.color=n[0][1];for(var m=1,l=n.length-1;m<l;++m){i.push(n[m][0]*100+"% "+n[m][1])}o.colors=i.join(",");o.color2=n[l][1];g[q]=o}return g[q]}return function(ac,G,Y,C,K,ad,W){var n=(G===null);if(n){G=K.alt}var I=ac.viewBox;var p=Y.computedFontSize||(Y.computedFontSize=new Cufon.CSS.Size(c(ad,Y.get("fontSize"))+"px",ac.baseSize));var y,q;if(n){y=K;q=K.firstChild}else{y=document.createElement("cufon");y.className="cufon cufon-vml";y.alt=G;q=document.createElement("cufoncanvas");y.appendChild(q);if(C.printable){var Z=document.createElement("cufontext");Z.appendChild(document.createTextNode(G));y.appendChild(Z)}if(!W){y.appendChild(document.createElement("cvml:shape"))}}var ai=y.style;var R=q.style;var l=p.convert(I.height),af=Math.ceil(l);var V=af/l;var P=V*Cufon.CSS.fontStretch(Y.get("fontStretch"));var U=I.minX,T=I.minY;R.height=af;R.top=Math.round(p.convert(T-ac.ascent));R.left=Math.round(p.convert(U));ai.height=p.convert(ac.height)+"px";var F=Y.get("color");var ag=Cufon.CSS.textTransform(G,Y).split("");var L=ac.spacing(ag,f(ad,Y,p,"letterSpacing"),f(ad,Y,p,"wordSpacing"));if(!L.length){return null}var k=L.total;var x=-U+k+(I.width-L[L.length-1]);var ah=p.convert(x*P),X=Math.round(ah);var O=x+","+I.height,m;var J="r"+O+"ns";var u=C.textGradient&&d(C.textGradient);var o=ac.glyphs,S=0;var H=C.textShadow;var ab=-1,aa=0,w;while(w=ag[++ab]){var D=o[ag[ab]]||ac.missingGlyph,v;if(!D){continue}if(n){v=q.childNodes[aa];while(v.firstChild){v.removeChild(v.firstChild)}}else{v=document.createElement("cvml:shape");q.appendChild(v)}v.stroked="f";v.coordsize=O;v.coordorigin=m=(U-S)+","+T;v.path=(D.d?"m"+D.d+"xe":"")+"m"+m+J;v.fillcolor=F;if(u){v.appendChild(u.cloneNode(false))}var ae=v.style;ae.width=X;ae.height=af;if(H){var s=H[0],r=H[1];var B=Cufon.CSS.color(s.color),z;var N=document.createElement("cvml:shadow");N.on="t";N.color=B.color;N.offset=s.offX+","+s.offY;if(r){z=Cufon.CSS.color(r.color);N.type="double";N.color2=z.color;N.offset2=r.offX+","+r.offY}N.opacity=B.opacity||(z&&z.opacity)||1;v.appendChild(N)}S+=L[aa++]}var M=v.nextSibling,t,A;if(C.forceHitArea){if(!M){M=document.createElement("cvml:rect");M.stroked="f";M.className="cufon-vml-cover";t=document.createElement("cvml:fill");t.opacity=0;M.appendChild(t);q.appendChild(M)}A=M.style;A.width=X;A.height=af}else{if(M){q.removeChild(M)}}ai.width=Math.max(Math.ceil(p.convert(k*P)),0);if(h){var Q=Y.computedYAdjust;if(Q===undefined){var E=Y.get("lineHeight");if(E=="normal"){E="1em"}else{if(!isNaN(E)){E+="em"}}Y.computedYAdjust=Q=0.5*(a(ad,E)-parseFloat(ai.height))}if(Q){ai.marginTop=Math.ceil(Q)+"px";ai.marginBottom=Q+"px"}}return y}})());Cufon.registerEngine("canvas",(function(){var b=document.createElement("canvas");if(!b||!b.getContext||!b.getContext.apply){return}b=null;var a=Cufon.CSS.supports("display","inline-block");var e=!a&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var f=document.createElement("style");f.type="text/css";f.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(e?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(a?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"}@media print{cufon{padding:0;}cufon canvas{display:none;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(f);function d(p,h){var n=0,m=0;var g=[],o=/([mrvxe])([^a-z]*)/g,k;generate:for(var j=0;k=o.exec(p);++j){var l=k[2].split(",");switch(k[1]){case"v":g[j]={m:"bezierCurveTo",a:[n+~~l[0],m+~~l[1],n+~~l[2],m+~~l[3],n+=~~l[4],m+=~~l[5]]};break;case"r":g[j]={m:"lineTo",a:[n+=~~l[0],m+=~~l[1]]};break;case"m":g[j]={m:"moveTo",a:[n=~~l[0],m=~~l[1]]};break;case"x":g[j]={m:"closePath"};break;case"e":break generate}h[g[j].m].apply(h,g[j].a)}return g}function c(m,k){for(var j=0,h=m.length;j<h;++j){var g=m[j];k[g.m].apply(k,g.a)}}return function(V,w,P,t,C,W){var k=(w===null);if(k){w=C.getAttribute("alt")}var A=V.viewBox;var m=P.getSize("fontSize",V.baseSize);var B=0,O=0,N=0,u=0;var z=t.textShadow,L=[];if(z){for(var U=z.length;U--;){var F=z[U];var K=m.convertFrom(parseFloat(F.offX));var I=m.convertFrom(parseFloat(F.offY));L[U]=[K,I];if(I<B){B=I}if(K>O){O=K}if(I>N){N=I}if(K<u){u=K}}}var Z=Cufon.CSS.textTransform(w,P).split("");var E=V.spacing(Z,~~m.convertFrom(parseFloat(P.get("letterSpacing"))||0),~~m.convertFrom(parseFloat(P.get("wordSpacing"))||0));if(!E.length){return null}var h=E.total;O+=A.width-E[E.length-1];u+=A.minX;var s,n;if(k){s=C;n=C.firstChild}else{s=document.createElement("cufon");s.className="cufon cufon-canvas";s.setAttribute("alt",w);n=document.createElement("canvas");s.appendChild(n);if(t.printable){var S=document.createElement("cufontext");S.appendChild(document.createTextNode(w));s.appendChild(S)}}var aa=s.style;var H=n.style;var j=m.convert(A.height);var Y=Math.ceil(j);var M=Y/j;var G=M*Cufon.CSS.fontStretch(P.get("fontStretch"));var J=h*G;var Q=Math.ceil(m.convert(J+O-u));var o=Math.ceil(m.convert(A.height-B+N));n.width=Q;n.height=o;H.width=Q+"px";H.height=o+"px";B+=A.minY;H.top=Math.round(m.convert(B-V.ascent))+"px";H.left=Math.round(m.convert(u))+"px";var r=Math.max(Math.ceil(m.convert(J)),0)+"px";if(a){aa.width=r;aa.height=m.convert(V.height)+"px"}else{aa.paddingLeft=r;aa.paddingBottom=(m.convert(V.height)-1)+"px"}var X=n.getContext("2d"),D=j/A.height;X.scale(D,D*M);X.translate(-u,-B);X.save();function T(){var x=V.glyphs,ab,l=-1,g=-1,y;X.scale(G,1);while(y=Z[++l]){var ab=x[Z[l]]||V.missingGlyph;if(!ab){continue}if(ab.d){X.beginPath();if(ab.code){c(ab.code,X)}else{ab.code=d("m"+ab.d,X)}X.fill()}X.translate(E[++g],0)}X.restore()}if(z){for(var U=z.length;U--;){var F=z[U];X.save();X.fillStyle=F.color;X.translate.apply(X,L[U]);T()}}var q=t.textGradient;if(q){var v=q.stops,p=X.createLinearGradient(0,A.minY,0,A.maxY);for(var U=0,R=v.length;U<R;++U){p.addColorStop.apply(p,v[U])}X.fillStyle=p}else{X.fillStyle=P.get("color")}T();return s}})());

/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * © 1990, 1991, 2002 Adobe Systems Incorporated. All rights reserved.
 * 
 * Trademark:
 * Helvetica is a trademark of Linotype Corp. registered in the U.S. Patent and
 * Trademark Office and may be registered in certain other jurisdictions in the
 * name of Linotype Corp. or its licensee Linotype GmbH.
 * 
 * Full name:
 * HelveticaRoundedLTStd-BdCn
 * 
 * Designer:
 * Unknown
 * 
 * Vendor URL:
 * http://www.adobe.com/type
 * 
 * License information:
 * http://www.adobe.com/type/legal.html
 */
 
 // Cufon setters 
 
Cufon.registerFont({"w":172,"face":{"font-family":"Helvetica Rounded LT Std","font-weight":700,"font-stretch":"condensed","units-per-em":"360","panose-1":"2 15 7 6 3 7 3 4 2 4","ascent":"264","descent":"-96","x-height":"5","cap-height":"5","bbox":"-5 -277.991 297 75","underline-thickness":"18","underline-position":"-18","stemh":"35","stemv":"44","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":86,"k":{"T":13,"V":13,"W":13,"A":13}},"!":{"d":"34,-82v-5,-51,-10,-102,-8,-157v0,-15,7,-25,24,-25v42,0,27,62,23,106r-7,76v-1,13,-4,19,-16,19v-12,0,-15,-6,-16,-19xm23,-23v0,-15,12,-27,27,-27v15,0,27,12,27,27v0,15,-12,28,-27,28v-15,0,-27,-13,-27,-28","w":100},"\"":{"d":"112,-166v-30,0,-19,-47,-21,-77v0,-13,10,-22,21,-22v30,1,18,48,20,77v0,13,-9,22,-20,22xm41,-166v-30,-1,-18,-48,-20,-77v0,-13,9,-22,20,-22v30,0,19,47,21,77v0,13,-10,22,-21,22","w":153},"#":{"d":"94,-71r-31,0v-8,27,6,72,-27,76v-28,-6,-5,-52,-6,-76v-17,2,-32,-3,-30,-17v-2,-15,16,-19,34,-17r6,-44v-17,2,-32,-3,-30,-17v-2,-15,16,-21,34,-18v8,-27,-6,-71,27,-75v30,5,6,51,7,75r31,0v9,-26,-4,-70,27,-75v29,5,6,50,7,75v17,-2,32,4,30,18v2,15,-17,19,-35,17r-6,44v17,-2,32,3,30,17v3,16,-16,19,-34,17v-8,27,6,71,-26,76v-31,-5,-6,-50,-8,-76xm99,-105r5,-44r-31,0r-5,44r31,0"},"$":{"d":"32,-84v30,0,14,58,45,54r0,-78v-30,-17,-62,-43,-62,-84v0,-38,22,-66,62,-67v-6,-16,15,-28,17,-10r0,10v33,0,60,21,60,54v0,12,-8,21,-20,21v-27,0,-18,-44,-40,-41r0,71v31,18,67,39,67,83v0,46,-25,74,-67,76v-2,13,6,35,-8,37v-15,-1,-7,-23,-9,-37v-38,0,-65,-28,-65,-64v0,-13,6,-25,20,-25xm77,-163r0,-62v-28,10,-30,45,0,62xm94,-100r0,70v31,-6,30,-61,0,-70"},"%":{"d":"16,-194v0,-40,12,-65,55,-65v43,0,56,25,56,65v0,40,-13,66,-56,66v-43,0,-55,-26,-55,-66xm71,-232v-20,0,-19,22,-19,42v0,22,5,34,19,34v18,0,20,-23,19,-46v0,-16,-3,-30,-19,-30xm186,-61v0,-40,13,-65,56,-65v43,0,55,25,55,65v0,40,-12,66,-55,66v-43,0,-56,-26,-56,-66xm242,-99v-20,0,-19,22,-19,42v0,22,5,34,19,34v18,0,20,-23,19,-46v0,-16,-3,-30,-19,-30xm87,3v31,-93,77,-172,111,-262v4,-11,29,-11,28,2v-32,92,-77,172,-111,261v-4,11,-29,14,-28,-1","w":313},"&":{"d":"158,-91v8,-13,3,-52,27,-52v14,0,19,9,19,22v0,18,-11,51,-22,70v14,16,30,56,-6,57v-12,1,-19,-12,-25,-21v-44,43,-128,13,-128,-56v0,-36,18,-62,49,-82v-39,-50,-21,-106,39,-106v75,0,64,86,15,114xm132,-48r-40,-70v-36,19,-30,82,10,85v12,0,20,-4,30,-15xm110,-228v-29,3,-14,39,-3,50v19,-10,32,-46,3,-50","w":226},"(":{"d":"18,-100v0,-103,47,-172,66,-172v8,0,15,3,15,16v0,13,-35,53,-35,156v0,103,35,144,35,157v0,13,-7,15,-15,15v-19,0,-66,-69,-66,-172","w":106},")":{"d":"88,-100v0,103,-46,172,-65,172v-8,0,-16,-2,-16,-15v0,-13,35,-54,35,-157v0,-103,-35,-143,-35,-156v0,-13,8,-16,16,-16v19,0,65,69,65,172","w":106},"*":{"d":"79,-222v13,-3,37,-18,43,-1v6,17,-22,20,-35,25v5,10,28,29,14,40v-15,12,-26,-18,-34,-26v-9,8,-20,38,-35,26v-15,-11,9,-30,14,-40v-12,-6,-41,-9,-35,-25v5,-17,30,-2,43,1v0,-17,-4,-42,13,-42v17,0,11,26,12,42","w":133},"+":{"d":"89,-121v2,-30,-10,-83,19,-83v29,0,17,53,19,83v30,2,83,-9,83,19v0,28,-53,17,-83,19v-2,30,10,83,-19,83v-29,0,-17,-53,-19,-83v-30,-2,-83,9,-83,-19v0,-28,53,-17,83,-19","w":216},",":{"d":"14,41v5,-14,33,-15,35,-37v-22,6,-35,-14,-35,-26v0,-15,12,-28,29,-28v60,13,13,105,-19,100v-6,0,-10,-5,-10,-9","w":86,"k":{" ":13}},"-":{"d":"106,-102v2,28,-43,20,-70,21v-15,0,-22,-10,-22,-21v-1,-28,43,-19,70,-20v15,0,22,9,22,20","w":119},".":{"d":"16,-23v0,-15,12,-27,27,-27v15,0,28,12,28,27v0,15,-13,28,-28,28v-15,0,-27,-13,-27,-28","w":86},"\/":{"d":"-1,-7v23,-85,60,-160,85,-242v5,-17,34,-23,37,-3v-23,85,-60,160,-85,242v-5,17,-34,23,-37,3","w":119},"0":{"d":"62,-177r0,100v0,33,5,47,24,47v19,0,25,-14,25,-47r0,-100v0,-33,-6,-48,-25,-48v-19,0,-24,15,-24,48xm86,5v-100,0,-72,-93,-72,-176v0,-42,6,-88,72,-88v100,0,73,92,73,175v0,41,-7,89,-73,89"},"1":{"d":"49,-182v-21,-2,-54,7,-54,-15v0,-9,5,-14,15,-16v28,-5,39,-13,48,-30v9,-17,12,-18,24,-18v8,0,15,5,15,19r0,222v0,15,-11,25,-24,25v-13,0,-24,-10,-24,-25r0,-162","w":119},"2":{"d":"85,-223v-33,0,-14,56,-47,56v-18,0,-22,-15,-22,-27v0,-39,26,-65,68,-65v84,0,93,93,42,139v-22,20,-58,54,-63,79v34,5,97,-16,97,20v0,16,-10,21,-26,21r-100,0v-14,0,-21,-7,-21,-21v-7,-19,32,-83,65,-112v27,-23,31,-38,31,-57v0,-19,-8,-33,-24,-33"},"3":{"d":"83,-225v-28,0,-16,46,-47,46v-13,0,-20,-9,-20,-22v0,-33,21,-58,66,-58v81,0,93,94,42,120v27,10,35,30,35,64v0,50,-22,80,-75,80v-61,0,-72,-44,-72,-66v0,-17,7,-29,22,-29v35,0,14,60,51,60v20,0,26,-20,26,-45v0,-37,-11,-44,-30,-45v-32,-2,-36,-30,-3,-34v20,-3,27,-12,27,-40v0,-16,-5,-31,-22,-31"},"4":{"d":"92,-90r-1,-104r-48,104r49,0xm114,5v-24,0,-23,-31,-22,-57v-42,0,-108,13,-80,-45r70,-147v6,-27,54,-20,54,5r0,149v15,-1,28,2,28,19v0,17,-13,20,-28,19v1,26,2,57,-22,57"},"5":{"d":"36,-87v39,-2,13,57,49,57v21,0,26,-18,26,-53v0,-42,-8,-57,-29,-57v-23,0,-17,25,-44,25v-19,0,-21,-15,-20,-33r5,-89v0,-10,5,-18,16,-18r87,0v16,0,26,5,26,21v-2,36,-59,16,-92,21r-3,52v44,-30,102,-16,102,71v0,54,-12,95,-74,95v-62,0,-71,-45,-71,-64v0,-14,5,-28,22,-28"},"6":{"d":"130,-195v-18,5,-23,-35,-41,-30v-25,-2,-29,33,-28,66v46,-38,99,3,99,67v0,51,-13,97,-73,97v-77,0,-74,-68,-74,-146v0,-73,14,-118,75,-118v44,0,64,20,64,43v0,13,-9,21,-22,21xm61,-84v0,35,4,54,25,54v21,0,26,-19,26,-54v0,-34,-5,-53,-26,-53v-21,0,-25,19,-25,53"},"7":{"d":"109,-211v-36,-4,-103,13,-105,-22v0,-9,6,-22,22,-22r111,0v15,0,23,3,23,18v-22,52,-65,146,-68,217v-1,15,-10,25,-26,25v-16,0,-22,-11,-22,-25v0,-32,31,-132,65,-191","w":159},"8":{"d":"86,-122v-29,0,-25,30,-25,56v0,19,4,36,25,36v28,0,26,-28,26,-55v0,-15,-4,-37,-26,-37xm63,-190v0,17,3,34,23,34v35,0,33,-69,0,-69v-16,0,-23,14,-23,35xm13,-72v0,-28,6,-55,32,-67v-52,-29,-30,-129,41,-120v72,-8,94,91,41,120v26,12,33,39,33,67v0,36,-11,77,-74,77v-63,0,-73,-41,-73,-77"},"9":{"d":"42,-59v19,-5,24,34,42,29v25,2,29,-33,28,-66v-46,39,-99,-3,-99,-67v0,-51,12,-96,72,-96v77,0,76,68,75,146v0,73,-14,118,-75,118v-44,0,-64,-20,-64,-43v0,-13,8,-21,21,-21xm61,-171v0,34,4,53,25,53v21,0,26,-19,26,-53v0,-35,-5,-54,-26,-54v-21,0,-25,19,-25,54"},":":{"d":"16,-167v0,-15,12,-28,27,-28v15,0,28,13,28,28v0,15,-13,27,-28,27v-15,0,-27,-12,-27,-27xm16,-23v0,-15,12,-27,27,-27v15,0,28,12,28,27v0,15,-13,28,-28,28v-15,0,-27,-13,-27,-28","w":86,"k":{" ":13}},";":{"d":"14,41v5,-14,33,-15,35,-37v-22,6,-35,-14,-35,-26v0,-15,12,-28,29,-28v60,13,13,105,-19,100v-6,0,-10,-5,-10,-9xm16,-167v0,-15,12,-28,27,-28v15,0,28,13,28,28v0,15,-13,27,-28,27v-15,0,-27,-12,-27,-27","w":86},"<":{"d":"188,-9v-61,-17,-110,-50,-166,-72v-18,-7,-18,-34,0,-41v56,-24,105,-55,166,-73v26,3,28,25,3,35r-132,58r132,58v25,10,23,32,-3,35","w":216},"=":{"d":"185,-125r-154,0v-15,0,-25,-9,-25,-19v0,-10,10,-19,25,-19r154,0v15,0,25,9,25,19v0,10,-10,19,-25,19xm185,-40r-154,0v-15,0,-25,-9,-25,-19v0,-10,10,-19,25,-19r154,0v15,0,25,9,25,19v0,10,-10,19,-25,19","w":216},">":{"d":"25,-44r132,-58r-132,-58v-25,-10,-23,-32,3,-35v61,17,110,50,166,73v18,7,18,34,0,41v-56,23,-105,54,-166,72v-26,-3,-28,-25,-3,-35","w":216},"?":{"d":"84,-228v-28,0,-16,44,-44,44v-13,0,-22,-9,-22,-22v0,-33,24,-58,64,-58v77,0,88,87,43,128v-16,14,-32,34,-32,55v0,10,-8,18,-21,18v-45,-9,-8,-75,13,-90v17,-20,21,-34,21,-47v0,-15,-7,-28,-22,-28xm45,-23v0,-15,12,-27,27,-27v15,0,27,12,27,27v0,15,-12,28,-27,28v-15,0,-27,-13,-27,-28","w":173},"@":{"d":"112,-121v0,17,6,30,24,30v44,0,57,-66,12,-68v-21,0,-36,19,-36,38xm222,-181v0,30,-13,55,-15,86v0,4,2,7,7,7v15,0,33,-16,33,-56v0,-59,-40,-89,-98,-89v-55,0,-100,46,-100,104v0,65,45,102,103,102v56,0,67,-22,79,-22v8,0,15,5,15,13v0,13,-44,42,-94,42v-79,0,-144,-56,-144,-135v0,-78,64,-136,142,-136v71,0,130,42,130,111v0,82,-68,101,-90,101v-18,1,-22,-8,-26,-15v-36,31,-93,13,-93,-52v0,-60,80,-111,117,-57v-1,-25,34,-28,34,-4","w":288},"A":{"d":"122,-65r-60,0v-8,26,-2,71,-35,70v-23,0,-24,-20,-19,-41r46,-194v6,-26,12,-34,39,-34v24,0,34,8,40,34r49,212v0,16,-12,23,-24,23v-31,0,-29,-44,-36,-70xm70,-103r44,0r-22,-108","w":186},"B":{"d":"20,-26r0,-207v-2,-41,56,-22,91,-26v67,-9,73,100,30,120v60,25,41,144,-33,139v-34,-2,-88,14,-88,-26xm68,-117r0,81v37,2,57,0,57,-43v0,-33,-22,-42,-57,-38xm68,-223r0,69v31,2,53,-1,52,-35v0,-36,-21,-35,-52,-34","w":186,"k":{",":13,".":13}},"C":{"d":"96,-32v35,3,13,-75,50,-66v17,0,25,12,25,29v0,54,-32,75,-79,75v-92,0,-78,-80,-78,-154v0,-91,26,-117,84,-117v48,0,72,28,72,64v0,17,-6,29,-24,29v-35,8,-17,-55,-48,-55v-22,0,-33,10,-33,87v0,57,-2,114,31,108","w":180},"D":{"d":"68,-221r0,183v51,2,58,-2,61,-83v2,-52,-1,-107,-37,-100r-24,0xm20,-26r0,-207v-2,-41,55,-22,89,-26v60,-7,72,66,70,147v-3,108,-41,112,-133,112v-18,0,-26,-8,-26,-26","w":193,"k":{",":13,".":13}},"E":{"d":"68,-113r0,70v34,4,99,-14,100,21v0,12,-7,22,-25,22r-97,0v-18,0,-26,-8,-26,-26r0,-207v0,-18,8,-26,26,-26r94,0v18,0,25,9,25,21v0,35,-64,18,-97,22r0,60v33,3,92,-12,93,21v0,33,-60,19,-93,22","w":180},"F":{"d":"68,-113v-5,41,18,118,-24,118v-13,0,-24,-10,-24,-25r0,-213v1,-46,74,-26,115,-26v18,0,26,9,26,21v0,33,-60,19,-93,22r0,60v33,3,92,-12,93,21v0,33,-60,19,-93,22","k":{",":40,".":40,"a":5,"A":13,"e":5,"i":4,"o":5}},"G":{"d":"146,-174v-36,0,-9,-53,-51,-53v-17,0,-30,10,-30,70r0,36v0,63,5,88,32,88v25,0,28,-34,27,-68v-20,2,-39,-1,-39,-20v0,-29,35,-21,61,-21v17,0,24,8,24,24r0,103v0,12,-4,20,-18,20v-15,0,-21,-12,-20,-28v-10,19,-26,28,-48,28v-65,2,-70,-71,-70,-151v0,-88,24,-119,83,-119v51,0,73,33,73,63v0,18,-7,28,-24,28","w":186,"k":{",":13,".":13}},"H":{"d":"132,-118r-64,0v-6,42,19,123,-24,123v-13,0,-24,-10,-24,-25r0,-219v0,-15,11,-25,24,-25v40,3,19,70,24,108r64,0v5,-39,-16,-108,24,-108v13,0,24,10,24,25r0,219v0,15,-11,25,-24,25v-43,0,-18,-81,-24,-123","w":200},"I":{"d":"22,-20r0,-219v0,-15,11,-25,24,-25v13,0,25,10,25,25r0,219v0,15,-12,25,-25,25v-13,0,-24,-10,-24,-25","w":92},"J":{"d":"91,-59r0,-180v0,-15,12,-25,25,-25v13,0,24,10,24,25r0,181v0,42,-23,64,-67,64v-49,0,-64,-30,-64,-67v0,-21,10,-30,23,-30v36,-8,13,59,41,59v12,0,18,-8,18,-27","w":159,"k":{",":13,".":13}},"K":{"d":"20,-20r0,-219v0,-15,11,-25,24,-25v43,0,16,82,25,120r58,-105v9,-25,45,-16,46,6v-10,38,-37,63,-53,95v20,44,45,84,61,132v0,12,-10,21,-26,21v-15,0,-20,-7,-26,-20r-41,-86r-20,30v-1,31,8,77,-24,76v-13,0,-24,-10,-24,-25","w":186},"L":{"d":"68,-43v34,4,97,-13,98,21v0,12,-7,22,-25,22r-95,0v-18,0,-26,-8,-26,-26r0,-213v0,-15,11,-25,24,-25v13,0,24,10,24,25r0,196","w":173,"k":{"T":63,"V":36,"W":36,"y":13,"Y":54}},"M":{"d":"21,-20r0,-208v0,-23,8,-36,39,-36v24,0,37,9,43,39r24,124r24,-124v6,-30,19,-39,43,-39v31,0,39,13,39,36r0,208v0,15,-12,25,-25,25v-13,0,-24,-10,-24,-25r0,-186r-40,195v-2,8,-4,16,-17,16v-13,0,-16,-8,-18,-16r-40,-195r0,186v0,15,-11,25,-24,25v-13,0,-24,-10,-24,-25","w":253},"N":{"d":"20,-20r0,-219v2,-32,46,-34,60,0r58,141r0,-141v0,-15,11,-25,24,-25v13,0,24,10,24,25r0,217v-1,38,-47,33,-60,2r-58,-144r0,144v0,15,-11,25,-24,25v-13,0,-24,-10,-24,-25","w":206,"k":{",":11,".":11}},"O":{"d":"14,-104r0,-55v0,-95,40,-106,80,-106v40,0,79,11,79,106r0,55v0,98,-34,110,-79,110v-45,0,-80,-12,-80,-110xm65,-159r0,55v0,63,10,72,29,72v19,0,28,-9,28,-72r0,-55v0,-56,-9,-68,-28,-68v-19,0,-29,12,-29,68","w":187,"k":{"T":4,"Y":11,",":13,".":13}},"P":{"d":"20,-20r0,-213v-2,-40,52,-26,86,-26v40,0,66,21,66,73v0,58,-38,85,-104,76v-5,40,17,115,-24,115v-13,0,-24,-10,-24,-25xm68,-223r0,76v33,3,53,-4,53,-37v0,-39,-19,-41,-53,-39","w":180,"k":{",":46,".":46,"a":6,"A":13,"e":6,"o":6}},"Q":{"d":"14,-104r0,-55v0,-95,40,-106,80,-106v40,0,79,11,79,106v0,47,2,110,-14,133v15,11,40,42,8,48v-10,2,-25,-16,-32,-24v-68,18,-121,17,-121,-102xm65,-159r0,55v2,69,8,74,38,71v-18,-11,-1,-45,17,-29v2,-39,14,-174,-26,-165v-19,0,-29,12,-29,68","w":187},"R":{"d":"20,-20r0,-213v-2,-41,57,-22,92,-26v73,-8,76,109,27,125v46,11,23,75,33,123v-6,24,-52,20,-52,-9v0,-45,14,-105,-52,-93v-5,41,18,118,-24,118v-13,0,-24,-10,-24,-25xm68,-223r0,74v31,1,51,-1,52,-37v1,-35,-19,-39,-52,-37","w":186,"k":{"T":6,"Y":6}},"S":{"d":"38,-95v36,0,12,67,52,63v39,-4,36,-55,4,-69v-30,-23,-79,-48,-79,-97v0,-46,35,-67,76,-67v54,0,72,38,72,65v0,16,-10,24,-24,24v-37,0,-15,-57,-50,-51v-34,6,-36,40,0,63v35,22,78,40,78,97v0,45,-27,73,-82,73v-63,0,-72,-56,-72,-69v0,-17,4,-32,25,-32","w":180,"k":{",":13,".":13}},"T":{"d":"31,-259r125,0v18,0,25,9,25,21v0,26,-37,23,-63,22r0,196v0,15,-11,25,-24,25v-13,0,-25,-10,-25,-25r0,-196v-26,0,-63,4,-63,-22v0,-12,7,-21,25,-21","w":187,"k":{"w":33,"y":27,",":33,".":33,"a":33,"A":20,"e":33,"i":4,"o":33,"r":33,"-":43,"h":4,"O":4,"u":33,":":27,";":27}},"U":{"d":"97,6v-116,0,-79,-143,-79,-245v0,-15,11,-25,24,-25v13,0,25,10,25,25r0,166v0,28,12,41,30,41v18,0,30,-13,30,-41r0,-166v0,-15,11,-25,24,-25v13,0,24,10,24,25v0,101,38,245,-78,245","w":193,"k":{",":13,".":13}},"V":{"d":"55,-23r-48,-217v-1,-28,43,-34,49,-3r38,192r31,-187v-2,-31,51,-35,48,-4v-8,78,-31,147,-45,221v-5,22,-15,26,-38,26v-25,0,-31,-11,-35,-28","w":180,"k":{",":33,".":33,"a":6,"A":13,"e":6,"o":6,"-":6,"u":6,":":6,";":6}},"W":{"d":"112,-15v-3,17,-11,20,-31,20v-23,0,-29,-8,-32,-22r-42,-226v0,-12,9,-21,26,-21v15,0,20,8,22,20r31,181r29,-181v2,-13,7,-20,22,-20v15,0,20,7,22,20r33,181r26,-179v1,-31,53,-29,48,0r-39,220v-4,23,-9,27,-34,27v-26,0,-29,-5,-33,-28r-24,-139","w":273,"k":{",":27,".":27,"a":6,"A":6,"e":6,"o":6,"-":6,"u":4}},"X":{"d":"9,-17v11,-40,37,-78,53,-115v-16,-36,-39,-70,-50,-110v4,-28,39,-30,52,2r26,64r31,-70v7,-27,46,-21,47,3v-12,41,-35,74,-51,111v18,39,40,73,54,115v2,25,-45,30,-50,4r-32,-74r-34,77v-6,23,-48,18,-46,-7","w":180},"Y":{"d":"87,5v-40,0,-19,-73,-24,-112v-18,-46,-43,-85,-57,-135v0,-15,12,-22,24,-22v15,0,19,5,26,23r31,82r33,-86v7,-30,46,-21,47,1v-13,50,-39,89,-56,135v-5,40,17,114,-24,114","w":173,"k":{",":40,".":40,"a":20,"A":20,"e":20,"i":6,"o":20,"-":27,"O":11,"u":13,":":13,";":13}},"Z":{"d":"114,-216v-35,-4,-99,13,-100,-22v0,-12,8,-21,26,-21r110,0v30,0,30,25,17,47r-98,169v37,5,110,-15,110,21v0,12,-8,22,-26,22r-120,0v-28,-4,-30,-23,-17,-45","w":186},"[":{"d":"25,39r0,-277v-2,-28,29,-27,57,-26v10,0,18,6,18,17v0,16,-14,20,-31,18r0,259v31,-10,43,33,13,34v-27,0,-57,3,-57,-25","w":106},"\\":{"d":"84,-10r-83,-230v-5,-13,0,-26,15,-25v9,0,17,7,20,16r83,230v5,13,0,26,-15,25v-9,0,-17,-7,-20,-16","w":119},"]":{"d":"38,30r0,-259v-31,10,-43,-34,-14,-35v28,-1,58,-3,58,26r0,277v2,28,-30,25,-58,25v-10,0,-17,-6,-17,-17v0,-17,14,-18,31,-17","w":106},"^":{"d":"24,-127v15,-44,40,-78,60,-117v12,-23,36,-22,48,0v21,39,45,73,60,117v-2,16,-34,19,-40,-2r-44,-80r-44,80v-5,21,-40,18,-40,2","w":216},"_":{"d":"180,45r-180,0v-2,0,-4,-3,-4,-9v0,-6,2,-9,4,-9r180,0v2,0,4,3,4,9v0,6,-2,9,-4,9","w":180},"a":{"d":"81,-167v-29,-3,-11,37,-42,37v-10,0,-23,-5,-23,-18v0,-34,27,-51,61,-51v112,0,46,99,68,186v0,12,-8,18,-22,18v-13,0,-21,-9,-24,-25v-21,42,-85,32,-85,-28v0,-51,38,-63,70,-79v19,-10,18,-38,-3,-40xm75,-30v25,1,24,-42,23,-71v-16,12,-43,27,-38,48v0,15,6,23,15,23","w":159},"b":{"d":"65,-116v0,32,-5,86,22,84v22,4,17,-47,18,-76v0,-43,-3,-55,-18,-55v-10,0,-22,8,-22,47xm21,-22r0,-216v0,-18,9,-26,22,-26v34,-2,17,58,23,87v8,-15,23,-22,39,-22v57,1,46,71,47,128v0,40,-7,76,-47,76v-18,1,-30,-10,-40,-23v0,13,-9,23,-22,23v-13,0,-22,-9,-22,-27","w":166,"k":{",":13,".":13}},"c":{"d":"80,5v-73,0,-64,-57,-65,-120v0,-47,6,-84,65,-84v50,0,60,35,60,53v0,17,-9,25,-21,25v-30,6,-14,-44,-39,-44v-29,0,-19,58,-19,89v0,32,5,46,19,46v24,0,11,-62,39,-51v13,0,21,9,21,25v0,19,-8,61,-60,61","w":153,"k":{",":13,".":13}},"d":{"d":"61,-108v0,30,-3,80,19,76v27,2,22,-52,22,-84v0,-39,-12,-47,-22,-47v-15,0,-19,12,-19,55xm62,5v-57,-1,-46,-71,-47,-128v0,-40,7,-76,47,-76v17,-1,30,9,40,22v3,-31,-11,-87,21,-87v13,0,22,8,22,26r0,216v3,35,-44,34,-43,4v-10,13,-22,24,-40,23","w":166,"k":{",":13,".":13}},"e":{"d":"60,-122r38,0v1,-21,1,-43,-19,-43v-20,0,-20,22,-19,43xm81,5v-77,2,-66,-56,-67,-123v0,-50,7,-81,67,-81v46,0,61,25,61,76v0,43,-46,31,-82,32v0,26,-4,62,20,61v23,0,11,-51,38,-43v13,0,22,4,22,21v0,35,-23,57,-59,57","w":153,"k":{",":13,".":13}},"f":{"d":"24,-22r0,-140v-15,1,-24,-2,-24,-16v0,-14,9,-18,24,-17v-3,-43,4,-73,48,-69v23,-5,31,33,9,35v-18,-2,-12,19,-13,34v16,-1,26,2,26,17v0,15,-11,17,-26,16r0,140v0,18,-9,27,-22,27v-13,0,-22,-9,-22,-27","w":93,"k":{",":13,".":13}},"g":{"d":"61,-120v0,32,-3,95,19,85v10,0,22,-8,22,-47v0,-30,-5,-91,-21,-81v-12,0,-20,11,-20,43xm44,19v19,0,20,26,34,25v27,4,26,-39,23,-66v-10,18,-20,22,-39,22v-57,0,-46,-70,-47,-126v0,-37,10,-73,47,-73v18,-1,32,11,41,26v0,-18,8,-26,22,-26v12,0,20,8,20,26r0,184v0,44,-21,64,-65,64v-33,0,-58,-11,-58,-37v0,-12,9,-19,22,-19","w":166,"k":{",":6,".":6}},"h":{"d":"19,-22r0,-216v0,-18,9,-26,22,-26v35,-2,17,61,23,90v18,-39,83,-34,83,23r0,129v0,18,-9,27,-22,27v-13,0,-22,-9,-22,-27r0,-119v0,-14,-8,-20,-17,-20v-14,0,-23,11,-23,35r0,104v0,18,-9,27,-22,27v-13,0,-22,-9,-22,-27","w":166},"i":{"d":"21,-22r0,-151v0,-18,9,-26,22,-26v13,0,22,8,22,26r0,151v0,18,-9,27,-22,27v-13,0,-22,-9,-22,-27xm18,-240v0,-14,11,-25,25,-25v14,0,25,11,25,25v0,14,-11,25,-25,25v-14,0,-25,-11,-25,-25","w":86},"j":{"d":"0,56v-2,-22,21,-8,21,-33r0,-196v0,-18,9,-26,22,-26v13,0,22,8,22,26r0,206v0,29,-17,42,-44,42v-17,0,-21,-9,-21,-19xm18,-240v0,-14,11,-25,25,-25v14,0,25,11,25,25v0,14,-11,25,-25,25v-14,0,-25,-11,-25,-25","w":86},"k":{"d":"19,-22r0,-216v0,-18,9,-26,22,-26v13,0,22,8,22,26r1,117v20,-24,30,-67,62,-78v16,-2,27,16,16,33r-33,48v13,36,33,65,42,105v-1,24,-37,22,-46,1r-28,-66r-14,18v0,27,5,65,-22,65v-13,0,-22,-9,-22,-27","w":159},"l":{"d":"21,-22r0,-216v0,-18,9,-26,22,-26v13,0,22,8,22,26r0,216v0,18,-9,27,-22,27v-13,0,-22,-9,-22,-27","w":86},"m":{"d":"229,-151r0,129v0,18,-9,27,-22,27v-13,0,-22,-9,-22,-27r0,-119v0,-14,-8,-20,-17,-20v-14,0,-23,11,-23,35r0,104v0,18,-9,27,-22,27v-13,0,-21,-9,-21,-27r0,-119v0,-14,-8,-20,-17,-20v-14,0,-23,11,-23,35r0,104v0,18,-9,27,-22,27v-13,0,-22,-9,-22,-27r0,-151v0,-18,9,-26,22,-26v14,0,20,11,23,25v13,-32,65,-35,80,-3v25,-35,86,-31,86,26","w":246},"n":{"d":"19,-22r0,-151v0,-18,9,-26,22,-26v14,0,20,11,23,25v18,-39,83,-34,83,23r0,129v0,18,-9,27,-22,27v-13,0,-22,-9,-22,-27r0,-119v0,-14,-8,-20,-17,-20v-14,0,-23,11,-23,35r0,104v0,18,-9,27,-22,27v-13,0,-22,-9,-22,-27","w":166},"o":{"d":"80,-165v-26,-6,-19,59,-20,90v0,36,6,45,20,45v14,0,20,-9,20,-45v0,-30,5,-97,-20,-90xm80,5v-74,0,-66,-62,-66,-129v0,-42,13,-75,66,-75v74,0,66,61,66,128v0,42,-13,76,-66,76","w":159},"p":{"d":"65,-116v1,32,-5,88,22,86v22,4,17,-49,18,-78v0,-43,-3,-55,-18,-55v-10,0,-22,8,-22,47xm21,48r0,-221v0,-18,9,-26,22,-26v14,0,20,11,23,26v8,-17,24,-26,39,-26v57,1,46,71,47,128v0,40,-7,76,-47,76v-18,1,-30,-9,-40,-22v-3,33,12,92,-22,92v-13,0,-22,-9,-22,-27","w":166},"q":{"d":"80,-30v27,2,21,-54,22,-86v0,-39,-12,-47,-22,-47v-15,0,-19,12,-19,55v0,30,-3,82,19,78xm145,-173r0,221v0,18,-9,27,-22,27v-34,0,-15,-62,-22,-92v-8,15,-22,22,-39,22v-57,-1,-46,-71,-47,-128v0,-40,7,-76,47,-76v16,-1,30,11,40,26v0,-18,8,-26,21,-26v13,0,22,8,22,26","w":166},"r":{"d":"19,-22r0,-154v0,-14,7,-23,21,-23v23,0,19,24,21,42v6,-24,18,-42,33,-42v12,0,22,8,22,28v0,13,-7,26,-28,26v-43,0,-25,81,-25,123v0,18,-9,27,-22,27v-13,0,-22,-9,-22,-27","w":119,"k":{"v":-4,"y":-4,",":27,".":27,"a":4,"e":4,"o":4,"c":4,"d":4,"g":4,"r":4,"s":4,"-":13}},"s":{"d":"32,-71v32,0,10,44,42,43v24,-1,21,-31,2,-43v-24,-16,-63,-42,-63,-76v0,-35,25,-52,60,-52v47,0,59,31,59,47v0,13,-5,22,-23,22v-26,0,-12,-39,-37,-37v-19,2,-18,24,-5,34v26,20,68,45,68,80v0,38,-27,58,-63,58v-47,0,-61,-31,-61,-54v0,-17,11,-22,21,-22","w":146,"k":{"w":4}},"t":{"d":"24,-34r0,-128v-15,1,-24,-2,-24,-16v0,-14,9,-18,24,-17v-1,-26,-3,-60,22,-60v25,0,23,34,22,60v17,-1,30,1,30,17v0,16,-14,17,-30,16r0,114v-3,21,28,6,28,30v0,15,-9,20,-28,20v-34,0,-44,-18,-44,-36","w":93},"u":{"d":"19,-44r0,-129v0,-18,9,-26,22,-26v13,0,22,8,22,26r0,119v0,14,6,21,17,21v15,0,23,-11,23,-35r0,-105v0,-18,9,-26,22,-26v13,0,22,8,22,26r0,151v0,18,-9,27,-22,27v-13,0,-22,-9,-22,-26v-18,41,-84,34,-84,-23","w":166},"v":{"d":"44,-23r-36,-156v0,-13,10,-20,22,-20v15,0,22,6,25,23r24,127r22,-127v-2,-28,47,-29,44,-5v-7,58,-25,110,-37,166v-3,13,-9,20,-31,20v-23,0,-29,-9,-33,-28","w":153,"k":{",":20,".":20,"a":4,"e":4,"o":4}},"w":{"d":"40,-25r-31,-152v0,-14,10,-22,23,-22v15,0,21,10,23,25r19,121r19,-110v1,-40,37,-51,44,-16r25,126r18,-123v1,-30,44,-31,44,-1r-31,154v-4,18,-9,28,-30,28v-22,0,-27,-11,-31,-33r-16,-81r-17,90v-3,15,-12,24,-29,24v-18,0,-26,-9,-30,-30","w":233,"k":{",":13,".":13,"a":6,"e":4,"o":4}},"x":{"d":"7,-15v8,-32,29,-56,41,-84v-12,-25,-32,-51,-38,-80v1,-26,39,-27,45,-3r19,40v13,-18,15,-54,41,-57v25,2,28,20,15,42r-32,57v13,26,35,56,42,84v1,22,-35,29,-45,7r-22,-49v-13,20,-17,57,-43,63v-13,0,-23,-8,-23,-20","w":146},"y":{"d":"23,55v-5,-24,38,-4,30,-39r-46,-195v-2,-25,41,-28,46,-4r26,136r22,-128v-2,-28,45,-33,46,-5r-49,207v-9,38,-18,48,-55,48v-17,0,-20,-11,-20,-20","w":153,"k":{",":20,".":20,"a":4}},"z":{"d":"32,-195r88,0v28,0,26,19,15,38r-69,119v29,3,77,-12,78,19v0,13,-8,19,-22,19r-91,0v-26,2,-25,-24,-16,-38r70,-119v-27,-3,-74,12,-75,-18v0,-13,8,-20,22,-20","w":153},"{":{"d":"97,64v-82,0,-66,-60,-66,-122v0,-39,-30,-14,-30,-42v0,-27,30,-3,30,-41v0,-52,-13,-127,43,-123v19,1,38,-5,38,17v1,32,-37,3,-37,39r0,71v0,35,-25,34,-34,38v11,1,34,4,34,37r0,71v-4,36,37,7,37,38v0,12,-7,17,-15,17","w":113},"|":{"d":"19,-20r0,-219v0,-18,9,-26,21,-26v12,0,20,8,20,26r0,219v0,18,-8,26,-20,26v-12,0,-21,-8,-21,-26","w":79},"}":{"d":"16,-264v82,0,66,60,66,123v0,39,30,14,30,41v0,28,-30,4,-30,42v0,52,13,127,-43,122v-19,-2,-38,5,-38,-17v-1,-31,37,-2,37,-38r0,-71v0,-35,25,-34,34,-38v-11,-1,-34,-4,-34,-37r0,-71v4,-36,-37,-7,-37,-39v0,-12,7,-17,15,-17","w":113},"~":{"d":"148,-73v-25,1,-57,-20,-78,-20v-20,0,-25,18,-40,18v-12,0,-15,-7,-15,-16v0,-19,20,-40,51,-40v26,-1,58,20,80,20v20,0,25,-17,40,-17v12,0,15,6,15,15v0,19,-20,40,-53,40","w":216},"'":{"d":"40,-166v-30,0,-19,-47,-21,-77v0,-13,10,-22,21,-22v30,1,18,48,20,77v0,13,-9,22,-20,22","w":79},"`":{"d":"53,-212v-19,-3,-27,-23,-41,-32v-12,-8,-11,-34,6,-32v21,3,31,25,45,36v10,8,4,30,-10,28","w":86},"\u00a0":{"w":86,"k":{"T":13,"V":13,"W":13,"A":13}}}});
Cufon.replace('h3.sifrTitle')('a.cufon')('h1.bigSifr');

function validateSignUp(){
    var validFlag = true;
    var textInpVal = $('input.fillMeIn').val();
    if(textInpVal == '' || textInpVal == 'Please enter your name' || textInpVal == ' Sign up here' ){
        validFlag = false;
        $('input.fillMeIn').css('color', 'red');
        $('input.fillMeIn').val('Please enter your name');
    }
    var regExEmail = /^.*\w\@.*\w\..*\w$/;
    var inpVal = $('input#oyujii-oyujii').val();
    if(regExEmail.test(inpVal)){}
    else{
	    validFlag = false;
	    $('input#oyujii-oyujii').css('color', 'red');
	    $('input#oyujii-oyujii').val('Please enter a valid email address');
    }
	if(validFlag == true){
        document.cm.submit();
    }
 }



