
function getSelectedOptionValue(_obj){
	var value="";
	//alert("id : "+_obj.id);
	value=_obj.options[_obj.selectedIndex].value;	
	return value;	
}

function goPageCategory(comboId){
	var page=$(idSel+comboId).attr("value");
	location.href=page;
}

function getParameters(parameterName){
    var queryString=location.search ;
      var parameterName = parameterName + "=";
      if ( queryString.length > 0 ) { 
             // Find the beginning of the string
             begin = queryString.indexOf ( parameterName ); 
             // If the parameter name is not found, skip it, otherwise return the value
             if ( begin != -1 ) {
                         // Add the length (integer) to the beginning 
                        begin += parameterName.length; 
                        // Multiple parameters are separated by the "&" sign
                        end = queryString.indexOf ( "&" , begin );
                        if ( end == -1 ) {
                            end = queryString.length
                  }      
                  // Return the string 
                  return unescape ( queryString.substring ( begin, end ) );   
         }   
         // Return "" if no parameter has been found   
         return "";   
      }

} 

function setLinkFb(){
	$("#linkfcbk").attr("href","http://www.facebook.com/home.php?#!/profile.php?id=100001092394847&ref=ts");
	
}

