//Menu 
$(document).ready(function(){
	$('div.top-menu li:last').css('border-right', 'none');
	$('div.top-menu li:last').find('a').css('border-right', 'none');
	$('div.top-menu li:last').find('a').css('background', 'none');
//	$('div.top-menu li:last').css('padding-left', '10px');
//	$('div.sub-menu ul li ul li:first').css('width', '226px');
//	$('marquee').html() = $('marquee').html().text();
	$('marquee').marquee();
	$('div.content-wrapper p:first').css('margin-top', '0');
	
	$('div.content-wrapper').css('display', 'block');
	if(noScroll == false){
		$('div.content-wrapper').jScrollPane({scrollbarWidth:11});
	}
//	alert($('div.content-wrapper').css('height'));

/*	
	$('div.content-wrapper').pager('p', {
	  navId: 'nav2',
	  prevText: 'previous',
	  nextText: 'next',
	  showPages: false,
	  height: '7em'
	});

	$('div.nav a:first').addClass('left-nav');
	$('div.nav a:last').addClass('right-nav');
*/

});

$(document).ready(function(){
	var name = 'your name';
	var email = 'your email'; 
	var message = 'enter your message';
	
	$('div.contactform .name input').attr('value',name );
	$('div.contactform .email input').attr('value',email) ;
	$('div.contactform .message textarea').attr('value',message );

	 function focusMocus(variable){
	 alert($(this).attr('value'));
	                 if($(this).attr('value') == variable){
			                         $(this).attr('value', '');
						                 }
								         }
	$('div.contactform .name input').focus( function (){
		if($(this).attr('value') == name){
			$(this).attr('value', '');
		}
	});

	$('div.contactform .name input').blur( function (){
		if($(this).attr('value') == ''){
			$(this).attr('value',name );
		}
	});

	$('div.contactform .email input').focus( function (){
	        if($(this).attr('value') == email){
	                 $(this).attr('value', '');
	        }
	});
									   
	$('div.contactform .email input').blur( function (){
	        if($(this).attr('value') == ''){
	                 $(this).attr('value',email );
	        }
	});

	$('div.contactform .message textarea').focus( function (){
                if($(this).attr('value') == message){
                         $(this).attr('value', '');
                }
        });

	$('div.contactform .message textarea').blur( function (){
	        if($(this).attr('value') == ''){
	                 $(this).attr('value',message );
	        }
	});
});

locations = new Array();
locations[0] = new Array(42.683270, 23.315677); //BG
locations[1] = new Array(50.924075, 6.967344); //DE
   
function loadAll() {
	if (GBrowserIsCompatible()) {
	    map = new GMap2(document.getElementById("map"));
    	    // Create our "tiny" marker icon
    	    var tinyIcon = new GIcon();
    	    tinyIcon.image = "/images/reforce.png";
    	    tinyIcon.iconSize = new GSize(117, 27);
    	    tinyIcon.iconAnchor = new GPoint(0, 31);
   	    // Set up our GMarkerOptions object
   	    markerOptions = { icon:tinyIcon };
	    map.addControl(new GSmallMapControl());									    	    
	    var x= map.getMapTypes();  	    
	    map.setMapType(x[2]);
	    for(var i=0;i<locations.length;i++){
		marker = new GMarker( new GLatLng(locations[i][0], locations[i][1]), markerOptions);
		map.addOverlay(marker);
   	    }
   	}
} 

