/* ------------------------------------------------- *
 * SWFObject Plugin for jQuery
 * -------------------------------------------------- *
 * Author:  Copyright (c) 2009 Jonathan Neal
 * Version:  v1.0.5
 * ------------------------------------------------- */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(q($){t g=1m,h=\'h\',L=1n,x=\'\';$.M=(q(){t a,i,10,11,w=12,y=\'13.13\';8(!(a=1o.1p[\'1q 14\'])){B{i=N O(y+\'.7\')}C(10){B{i=N O(y+\'.6\');a=[6,0,21];i.1r=\'1s\'}C(11){8(a&&a[0]===6){w=1t}}8(!w){B{i=N O(y)}C(1u){a=\'X 0,0,0\'}}}8(!w&&i){B{a=i.1v(\'$1w\')}C(1x){}}}15{a=a.1y}a=a.1z(/^[A-1A-z\\s]*?(\\d+)(\\.|,)(\\d+)(\\s+r|,)(\\d+)/);o[a[1]*1,a[3]*1,a[5]*1]}());$.16=\'17.P\';$.D=($.M[0]!==0);$.18=q(a){t b=$.M;a=(/1B|1C/.Q(j a))?a.1D().1E(\'.\'):a;a=[a.1F||a[0]||b[0],a.1G||a[1]||b[1],a.1H||a[2]||b[2]];o($.D&&(a[0]>b[0]||(a[0]===b[0]&&(a[1]>b[1]||(a[1]===b[1]&&a[2]>=b[2])))))};$.E=q(e){8(!$.D){o 12}t f=e.P||x,4=e.19||{},R=g.1I(\'1J\'),k,l,F,G,a,b,c,d;e.H=e.H||1K;e.I=e.I||1L;8(e.S&&!$.18(e.S)){$.1a(e,{1M:\'1b\',H:1c.1d(e.H,1N),I:1c.1d(e.I,1O)});f=e.1P||$.16;4={u:{1Q:1R.1S,1T:($.T.1e&&$.T.L)?\'1U\':\'1V\',1W:g.1X.1Y(0,1Z)+\' - 14 20 22\'}}}8(j 4===h){8(e.u){4.u=e.u}8(e.J){4.J=e.J}}m(a n(b=[\'17\',\'u\',\'S\',\'19\',\'P\',\'J\'])){23 e[b[a]]}k=[];m(a n e){8(j e[a]===h){l=[];m(b n e[a]){l.p(b.U(/([A-Z])/,\'-$1\').1f()+\':\'+e[a][b]+\';\')}e[a]=l.9(x)}k.p(a+\'="\'+e[a]+\'"\')}e=k.9(\' \');8(j 4===h){k=[];m(a n 4){8(j 4[a]===h){l=[];m(b n 4[a]){8(j 4[a][b]===h){F=[];m(c n 4[a][b]){8(j 4[a][b][c]===h){G=[];m(d n 4[a][b][c]){G.p([d.U(/([A-Z])/,\'-$1\').1f(),\':\',4[a][b][c][d],\';\'].9(x))}4[a][b][c]=G.9(x)}F.p([c,\'{\',4[a][b][c],\'}\'].9(x))}4[a][b]=F.9(x)}l.p([b,\'=\',L.24(4[a][b])].9(x))}4[a]=l.9(\'&25;\')}k.p([\'<1g 1h="\',a,\'" 1i="\',4[a],\'">\'].9(x))}4=k.9(x)}8(!(/v=/.Q(e))){e+=\' v="V-W:1j-1k;"\'}8(!(/v=(.*?)V-W/.Q(e))){e=e.U(/v="/,\'v="V-W:1j-1k;\')}8($.T.1e){e+=\' 26="27:28-29-2a-2b-2c"\';4=\'<1g 1h="2d" 1i="\'+f+\'">\'+4}15{e+=\' 2e="2f/x-2g-E" 2h="\'+f+\'"\'}R.2i=[\'<1l \',e,\'>\',4,\'</1l>\'].9(x);o $(R.2j)};$.2k.E=q(b){8(!$.D){o K}t a=0,Y;2l((Y=K.2m(a++))[0]){Y.2n($.E($.1a({},b)));8(g.2o(\'1b\')){a=K.2p}}o K}}(2q));',62,151,'||||paramAttributes||||if|join||||||||object|activeX|typeof|aArr|bArr|for|in|return|push|function|||var|flashvars|style|fp6Crash||shockwaveFlash|||try|catch|hasFlashPlayer|flash|cArr|dArr|height|width|wmode|this|win|flashPlayerVersion|new|ActiveXObject|swf|test|buildDOM|hasVersion|browser|replace|vertical|align||each||errorA|errorB|false|ShockwaveFlash|Flash|else|flashExpressInstaller|expressInstall|hasFlashPlayerVersion|params|extend|SWFObjectExprInst|Math|max|msie|toLowerCase|PARAM|NAME|VALUE|text|top|OBJECT|document|window|navigator|plugins|Shockwave|AllowScriptAccess|always|true|errorC|GetVariable|version|errorD|description|match|Za|string|number|toString|split|major|minor|release|createElement|body|180|320|id|137|214|expressInstaller|MMredirectURL|location|href|MMplayerType|ActiveX|PlugIn|MMdoctitle|title|slice|47|Player||Installation|delete|escape|amp|classid|clsid|D27CDB6E|AE6D|11cf|96B8|444553540000|movie|type|application|shockwave|data|innerHTML|firstChild|fn|while|eq|html|getElementById|length|jQuery'.split('|'),0,{}))

//menu poziome
var $j = jQuery.noConflict();



	$j(function() {
		// set opacity to nill on page load
		$j("ul#menu span").css("opacity","0");
		// on mouse over
		$j("ul#menu span").hover(function () {
			// animate opacity to full
			$j(this).stop().animate({
				opacity: 1
			}, 'slow');
		},
		// on mouse out
		function () {
			// animate opacity to nill
			$j(this).stop().animate({
				opacity: 0
			}, 'medium');
		});
	});

 
  
  
$j(function() {
 $j('#s2').cycle({ 
    fx:     'fade', 
    speed:  'slow', 
    timeout: 3000, 
    next:   '#next2', 
    prev:   '#prev2' 
});
 });
 
 
 $j(function() {
 $j('#s3').cycle({ 
    fx:     'fade', 
    speed:  'slow', 
    timeout: 0, 
    next:   '#next2', 
    prev:   '#prev2' 
});
 });
 

$j(function(){
// For Flash placement
	$j('#flashcontent').flash({   
		swf: 'swf/animacja.swf',
		wmode: 'transparent',
		background: '#202022',
		quality: 'high',
		height: 213,   
		width: 655
	});
});
 
function Validate(){
	
	if (document.formularz.imie_nazwisko_firma.value == "Imię i Nazwisko (lub nazwa Firmy)")
	{	
		alert('Prosimy podać imię i nazwisko lub nazwę firmy');
		return false;
	}
	else if (document.formularz.email_telefon.value == "TELEFON")
	{	
		alert('Prosimy podac nr telefonu');
		return false;
	}
	else if (document.formularz.zapytanie.value == "Wyślij formularz, a: porozmawiasz z certyfikowanym specjalistą AdWords, wybierzesz model cenowy, otrzymasz bezpłatną wycenę kosztu kliknięcia.")
	{	
		alert('Wpisz zapytanie');
		return false;
	}
}
function Validate2(){
	
	if (document.formularz2.imie_nazwisko.value == "Imię i Nazwisko osoby kontaktowej")
	{	
		alert('Prosimy podać imię i nazwisko');
		return false;
	}
	else if (document.formularz2.email.value == "Adres e-mail")
	{	
		alert('Prosimy podac adres e-mail');
		return false;
	}
	else if (document.formularz2.zapytanie2.value == "Wpisz zapytanie")
	{	
		alert('Wpisz zapytanie');
		return false;
	}
}

function Validate3(){
	
	if (document.formularz3.nazwa_firmy.value == "")
	{	
		alert('Prosimy podać nazwę firmy');
		return false;
	}
	else if (document.formularz3.imie_nazwisko.value == "")
	{	
		alert('Prosimy podać imię i nazwisko');
		return false;
	}
	else if (document.formularz3.email.value == "")
	{	
		alert('Prosimy podac adres e-mail');
		return false;
	}
	else if (document.formularz3.strona_www.value == "")
	{	
		alert('Prosimy wpisać adres Państwa strony');
		return false;
	}
	else if (document.formularz3.zapytanie3.value == "")
	{	
		alert('Wpisz zapytanie');
		return false;
	}
}

function Validate4(){
	
	if (document.formularz4.nazwa_firmy.value == "")
	{	
		alert('Prosimy podać nazwę firmy');
		return false;
	}
	else if (document.formularz4.imie_nazwisko.value == "")
	{	
		alert('Prosimy podać imię i nazwisko');
		return false;
	}
	else if (document.formularz4.email.value == "")
	{	
		alert('Prosimy podac adres e-mail');
		return false;
	}
	else if (document.formularz4.strona_www.value == "")
	{	
		alert('Prosimy wpisać adres Państwa strony');
		return false;
	}
	else if (document.formularz4.zapytanie4.value == "")
	{	
		alert('Wpisz zapytanie');
		return false;
	}
}


/* Porady
/***********************************************
* Animated Collapsible DIV v2.4- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/

//animatedcollapse.addDiv('cat', 'fade=0,speed=400,group=pets')
//animatedcollapse.addDiv('dog', 'fade=0,speed=400,group=pets,persist=1,hide=1')
//animatedcollapse.addDiv('rabbit', 'fade=0,speed=400,group=pets,hide=1')

//animatedcollapse.ontoggle=function($j, divobj, state){ //fires each time a DIV is expanded/contracted
	//$: Access to jQuery
	//divobj: DOM reference to DIV being expanded/ collapsed. Use "divobj.id" to get its ID
	//state: "block" or "none", depending on state
//}

//animatedcollapse.init()

