
function goto_remedit(){
    var thelocation = document.location.toString();
    var thelocationsplit = thelocation.split('#');
    document.location = thelocationsplit[0] + '#reminders';
    document.getElementById('reminders').style.color = '#94B446'
}


function toggledown(objid,editid)
{
    Element.toggle(objid);
    Element.toggle(editid);

}

function changehtml(obj,value1,value2){
    value21 = '['+ value2 +']';
    value11 = '['+ value1 +']';
    if(obj.innerHTML == value11){
            obj.innerHTML = value21;
            obj.title = value2;
    }
    else{
            obj.title = value1;
            obj.innerHTML = value11;
    }
    
}

function shapeWrapper(lineHeight,Xs) {
	var out = '';
	Xvalues = Xs.split('|');
	for(i=0; i < Xvalues.length; i++) {
		parts = Xvalues[i].split(',');
		out += '<div style="float:left;clear:left;height:'+lineHeight+'px;width:'+ parts[1]+'px"></div>';
		out += '<div style="float:right;clear:right;height:'+lineHeight+'px;width:'+ parts[2]+'px"></div>';
	}
	document.write(out);
}