function expandCollapseText(elem) {
    var e       = document.getElementById(elem);
    if (e.style.display == 'block' || e.style.display != 'none'){
	    e.style.display = 'none'
    }
    else {
	    e.style.display = 'block'
    }
}//end expandCollapse

function roll(img_name, img_src) {
    document[img_name].src = img_src;
}

function roll(img_name, img_src) {
    document[img_name].src = img_src;
}

function aboutWin(pageName) {
    win = window.open(pageName,'abtWin','scrollbars,top=200, left=300, width=550,height=400,resizable=0');

}

function aboutNew(pageName) {
    win = window.open(pageName,'abtNew','scrollbars, top=200, left=400, width=650,height=500,resizable=1');
}

function redirectMain(URL) {
   // window.opener.location.href = URL;
   window.opener.top.location = URL;
   target=_daughter;
  
    
   
    //window.opener.document.getElementById("myInputText").value = document.getElementById("mySelectElement").value;
}

var timeOut = 500; // msec to waitvar as = document.getElementsByTagName('a');for (var i = 0, a; a = as[i]; i++) {	if (a.hasAttribute('href') && ! a.href.match(/^javascript:/i)) {		new TabOpener(a);	}}function TabOpener(a) {	var timer = null;	var opened = false;	var openLinkInTab = function() {		GM_openInTab(a.href);		opened = true;	}	var mousedownHandler = function(e) {		if (e.button == 0) {			timer = setTimeout(openLinkInTab, timeOut);		}	}	var clickHandler = function(e) {		clearTimeout(timer);		if (opened) {			e.preventDefault();			opened = false;		}	}	a.addEventListener('mousedown', mousedownHandler, false);	a.addEventListener('click', clickHandler, false);}