<!--show hide script-->
<!--
	function show_hide(tblid, show) {
		if (tbl = document.getElementById(tblid)) {
			if (null == show) show = tbl.style.display == 'none';
			tbl.style.display = (show ? '' : 'none');
		}
	}
//!-->

<!--
var active = null;

function showhide(layer_ref) {
var el = document.getElementById(layer_ref);

if(active != null) { document.getElementById(active).style.display = 'none'; }

if(el.style.display == 'none') { el.style.display = 'block'; active = layer_ref;}
else { el.style.display = 'none'; }

} 

//--> 

function display(obj,id1,id2, id3) {
txt = obj.options[obj.selectedIndex].value;
document.getElementById(id1).style.display = 'none';
document.getElementById(id2).style.display = 'none';
document.getElementById(id3).style.display = 'none';
if ( txt.match(id1) ) {
document.getElementById(id1).style.display = 'block';
}
if ( txt.match(id2) ) {
document.getElementById(id2).style.display = 'block';
}
if ( txt.match(id3) ) {
document.getElementById(id3).style.display = 'block';
}
}

function display2(obj,id1,id2, id3, id4) {
txt = obj.options[obj.selectedIndex].value;
document.getElementById(id1).style.display = 'none';
document.getElementById(id2).style.display = 'none';
document.getElementById(id3).style.display = 'none';
document.getElementById(id4).style.display = 'none';
if ( txt.match(id1) ) {
document.getElementById(id1).style.display = 'block';
}
if ( txt.match(id2) ) {
document.getElementById(id2).style.display = 'block';
}
if ( txt.match(id3) ) {
document.getElementById(id3).style.display = 'block';
}
if ( txt.match(id4) ) {
document.getElementById(id4).style.display = 'block';
}
}

function ChgText(tblid)
{
   var MyElement = document.getElementById(tblid);
   MyElement.value = "";

   return true;
}


<!--Pop-up window script-->
<!--
function MM_openBrWindow(theFile,id,stuff) {
  window.open(theFile,id,stuff);
}
//-->
<!-- resize forum i frame script-->
<!--Pop-up window script-->
<!--
function wimpyPopPlayer(theFile,id,stuff) {
  window.open(theFile,id,stuff);
}
//-->
<!-- resize forum i frame script-->

/***********************************************
* IFrame SSI script II- © Dynamic Drive DHTML code library (http://www.dynamicdrive.com)
* Visit DynamicDrive.com for hundreds of original DHTML scripts
* This notice must stay intact for legal use
***********************************************/

//Input the IDs of the IFRAMES you wish to dynamically resize to match its content height:
//Separate each ID with a comma. Examples: ["myframe1", "myframe2"] or ["myframe"] or [] for none:
var iframeids=["for"]

//Should script hide iframe from browsers that don't support this script (non IE5+/NS6+ browsers. Recommended):
var iframehide="yes"

var getFFVersion=navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox")).split("/")[1]
var FFextraHeight=parseFloat(getFFVersion)>=0.1? 16 : 0 //extra height in px to add to iframe in FireFox 1.0+ browsers

function resizeCaller() {
resizeIframe(0)
var dyniframe=new Array()
for (i=0; i<iframeids.length; i++){
if (document.getElementById)
resizeIframe(iframeids[i])
//reveal iframe for lower end browsers? (see var above):
if ((document.all || document.getElementById) && iframehide=="no"){
var tempobj=document.all? document.all[iframeids[i]] : document.getElementById(iframeids[i])
tempobj.style.display="block"
}
}
}

function resizeIframe(frameid){
var currentfr=document.getElementById(frameid)
if (currentfr && !window.opera){
currentfr.style.display="block"
if (currentfr.contentDocument && currentfr.contentDocument.body.offsetHeight) //ns6 syntax
currentfr.height = currentfr.contentDocument.body.offsetHeight+FFextraHeight;
else if (currentfr.Document && currentfr.Document.body.scrollHeight) //ie5+ syntax
currentfr.height = currentfr.Document.body.scrollHeight;
if (currentfr.addEventListener)
currentfr.addEventListener("load", readjustIframe, false)
else if (currentfr.attachEvent){
currentfr.detachEvent("onload", readjustIframe) // Bug fix line
currentfr.attachEvent("onload", readjustIframe)
}
}
}

function readjustIframe(loadevt) {
var crossevt=(window.event)? event : loadevt
var iframeroot=(crossevt.currentTarget)? crossevt.currentTarget : crossevt.srcElement
if (iframeroot)
resizeIframe(iframeroot.id);
}

function loadintoIframe(iframeid, url){
if (document.getElementById)
document.getElementById(iframeid).src=url
}

if (window.addEventListener)
window.addEventListener("load", resizeCaller, false)
else if (window.attachEvent)
window.attachEvent("onload", resizeCaller)
else
window.onload=resizeCaller



<!-- menu -->
// Copyright 2006-2007 javascript-array.com

var timeout	= 500;
var closetimer	= 0;
var ddmenuitem	= 0;

// open hidden layer
function mopen(id)
{	
	// cancel close timer
	mcancelclosetime();

	// close old layer
	if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';

	// get new layer and show it
	ddmenuitem = document.getElementById(id);
	ddmenuitem.style.visibility = 'visible';

}
// close showed layer
function mclose()
{
	if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
}

// go close timer
function mclosetime()
{
	closetimer = window.setTimeout(mclose, timeout);
}

// cancel close timer
function mcancelclosetime()
{
	if(closetimer)
	{
		window.clearTimeout(closetimer);
		closetimer = null;
	}
}

// close layer when click-out
document.onclick = mclose; 

function getCookieVal (offset) {
  var endstr = document.cookie.indexOf (";", offset);
  if (endstr == -1) { endstr = document.cookie.length; }
  return unescape(document.cookie.substring(offset, endstr));
  }

function GetCookie (name) {
  var arg = name + "=";
  var alen = arg.length;
  var clen = document.cookie.length;
  var i = 0;
  while (i < clen) {
    var j = i + alen;
    if (document.cookie.substring(i, j) == arg) {
      return getCookieVal (j);
      }
    i = document.cookie.indexOf(" ", i) + 1;
    if (i == 0) break; 
    }
  return null;
  }
  
<!--
var wimpy_popout_window;
var winOpen=0;
function wimpyPopPlayer(wimpyPopPage,theWidth,theHeight) {
    wimpy_popout_window = window.open(wimpyPopPage,'wimpyRave','width='+theWidth+',height='+theHeight);
    winOpen=1;
}
function wimpyPopPlayerWithFile(wimpyPopPage,startPlayingOnload,initialFile,theWidth,theHeight) {
    if( startPlayingOnload ) {
        startPlayingOnload = "yes";
    } else {
        startPlayingOnload = "no";
    }
    wimpy_popout_window = window.open(wimpyPopPage+'?startPlayingOnload='+startPlayingOnload+'&amp;playlist='+initialFile,'wimpyRave','width='+theWidth+',height='+theHeight);
    winOpen=1;
}
function wimpyIsOpen(){
    if (winOpen==1){
        if (wimpy_popout_window.closed){
            return false;
        } else {
            return true;
        }
	} else {
        return false;
    }
}
function wimpyPopAndPlay(startOnLoad, theFile){
    if(GetCookie('PopWimpy') != null){
        wimpy_popout_window.wimpy_appendPlaylist(theFile, false);
    } else {
        wimpyPopPlayerWithFile('http://www.skafreaks.com/files/rave_popup.php',startOnLoad, theFile,'350','500');
    }
}
function wimpyPopAndPlay2(startOnLoad, theFile){
    if(GetCookie('PopWimpy') != null){
        wimpy_popout_window.wimpy_appendPlaylist(theFile, true);
    } else {
        wimpyPopPlayerWithFile('http://www.skafreaks.com/files/rave_popup.php',startOnLoad, theFile,'350','500');
    }
}
function wimpySamplePlay(startOnLoad, theFile){
    if(GetCookie('PopWimpy') != null){
        wimpy_popout_window.wimpy_appendPlaylist(theFile, false);
    } else {
        wimpyPopPlayerWithFile('http://www.skafreaks.com/files/rave_popup.php',startOnLoad, theFile,'350','500');
    }
}
function wimpySamplePlay2(startOnLoad, theFile){
    if(GetCookie('PopWimpy') != null){
        wimpy_popout_window.wimpy_appendPlaylist(theFile, true);
    } else {
        wimpyPopPlayerWithFile('http://www.skafreaks.com/files/rave_popup.php',startOnLoad, theFile,'350','500');
    }
}
//-->


     $(document).ready(function(){
        $('select#sel0').simpleMultiSelect();
        $('input#nada0').click(function(){
            $('select#sel0').smsNone();
        });
        $('input#todos0').click(function(){
            $('select#sel0').smsAll();
        });
	$('select#sel1').simpleMultiSelect({
	    classesOnly : true, 
	    pseudoSelect : 'custom-select-box', 
	    selected : 'custom-select',
	    unselected : 'custom-unselect'});
        $('input#nada1').click(function(){
            $('select#sel1').smsNone();
        });
        $('input#todos1').click(function(){
            $('select#sel1').smsAll();
        });
      });
	 

