﻿
jQuery(document).ready(function() {
    jQuery('#mycarousel').jcarousel();
});



	<!--
	function Ac(theURL,winName,features) { //v2.0
	  window.open(theURL,winName,features);
	}
	//-->

        // <![CDATA[
        $(document).ready(function () {
            $(".tab-content-institutional").hide();
            $("ul.tabs li:first").addClass("active").show();
            $(".tab-content-institutional:first").show();
            $("ul.tabs li").click(function () {
                $("ul.tabs li").removeClass("active");
                $(this).addClass("active");
                $(".tab-content-institutional").hide();
                var activeTab = $(this).find("a").attr("href");
                $(activeTab).fadeIn();
                return false;
            });
        });
        //-->
		
		// <![CDATA[
        $(document).ready(function () {
            $(".tab-content-institutional2").hide();
            $("ul.tabs2 li:first").addClass("active2").show();
            $(".tab-content-institutional2:first").show();
            $("ul.tabs2 li").click(function () {
                $("ul.tabs2 li").removeClass("active2");
                $(this).addClass("active2");
                $(".tab-content-institutional2").hide();
                var activeTab2 = $(this).find("a").attr("href");
                $(activeTab2).fadeIn();
                return false;
            });
        });
        
		//-->
		
		    $(document).ready(function () {
            $(".tab-content-institutional5").hide();
            $("ul.tabs5 li:first").addClass("active5").show();
            $(".tab-content-institutional5:first").show();
            $("ul.tabs5 li").click(function () {
                $("ul.tabs5 li").removeClass("active5");
                $(this).addClass("active5");
                $(".tab-content-institutional5").hide();
                var activeTab5 = $(this).find("a").attr("href");
                $(activeTab5).fadeIn();
                return false;
            });
        });
							
		
 
        // <![CDATA[
        $(function () {
            $('.six-image-carousel-1').each(function () {
                $(this).cycle({
                    fx: 'scrollHorz',
                    speed: 300,
                    timeout: 0,
                    next: '.next67',
                    prev: '.previous67'
                });
            });
        });
        //-->
    
 
        // <![CDATA[
        $(function () {
            $('.six-image-carousel-2').each(function () {
                $(this).cycle({
                    fx: 'scrollHorz',
                    speed: 300,
                    timeout: 0,                    
                    next: '.next68',
                    prev: '.previous68'
                });
            });
        });
        //-->
        // <![CDATA[
        $(function () {
            $('.six-image-carousel-3').each(function () {
                $(this).cycle({
                    fx: 'scrollHorz',
                    speed: 300,
                    timeout: 0,
                    next: '.next69',
                    prev: '.previous69'
                });
            });
        });
        //-->
        // <![CDATA[
        $(function () {
            $('.six-image-carousel-4').each(function () {
                $(this).cycle({
                    fx: 'scrollHorz',
                    speed: 300,
                    timeout: 0,
                    next: '.next70',
                    prev: '.previous70'
                });
            });
        });
        //-->
        // <![CDATA[
        function css_browser_selector(u) {
            var ua = u.toLowerCase(), is = function(t) { return ua.indexOf(t) > -1; },
            g = 'gecko',
            w = 'webkit',
            s = 'safari',
            o = 'opera',
            h = document.getElementsByTagName('html')[0],
            b = [(!(/opera|webtv/i.test(ua)) && /msie\s(\d)/.test(ua)) ?
            ('ie ie' + RegExp.$1) : is('firefox/2') ?
            g + ' ff2' : is('firefox/3.5') ?
            g + ' ff3 ff3_5' : is('firefox/3') ?
            g + ' ff3' : is('gecko/') ?
            g : is('opera') ? o + (/version\/(\d+)/.test(ua) ? ' ' + o +
            RegExp.$1 : (/opera(\s|\/)(\d+)/.test(ua) ? ' ' + o + RegExp.$2 : '')) :
            is('konqueror') ? 'konqueror' : is('chrome') ? w +
            ' chrome' : is('iron') ? w + ' iron' : is('applewebkit/') ?
            w + ' ' + s + (/version\/(\d+)/.test(ua) ? ' ' + s + RegExp.$1 : '') : is('mozilla/') ?
            g : '', is('j2me') ? 'mobile' : is('iphone') ? 'iphone' : is('ipod') ?
            'ipod' : is('mac') ? 'mac' : is('darwin') ? 'mac' : is('webtv') ? 'webtv' : is('win') ?
            'win' : is('freebsd') ? 'freebsd' : (is('x11') || is('linux')) ? 'linux' : '', 'js'];
            c = b.join(' '); h.className += ' ' + c; return c;
        }; css_browser_selector(navigator.userAgent);
        //-->

// ]]>

function numbersonly(myfield, e, dec)
{
var key;
var keychar;

if (window.event)
   key = window.event.keyCode;
else if (e)
   key = e.which;
else
   return true;
keychar = String.fromCharCode(key);

// control keys
if ((key==null) || (key==0) || (key==8) || 
    (key==9) || (key==13) || (key==27) )
   return true;

// numbers
else if ((("0123456789").indexOf(keychar) > -1))
   return true;

// decimal point jump
else if (dec && (keychar == "."))
   {
   myfield.form.elements[dec].focus();
   return false;
   }
else
   return false;
}

function HarfKontrol(e) {
	olay = document.all ? window.event : e;
	tus = document.all ? olay.keyCode : olay.which;
	if(tus>=48&&tus<=57) {
		if(document.all) { olay.returnValue = false; } else { olay.preventDefault(); }
	}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
