/* PellePlus. V1.5 Av David Lidström 2002-05-19 - Use freely, but this line may not be removed */ var __pplus__imgPPPlus = new Image(); var __pplus__imgPPMinus = new Image(); /* Sökvägarna till plus- och minusbilderna */__pplus__imgPPPlus.src = "/MobilVasa/images/sys/_sys_cat_folded.gif";__pplus__imgPPMinus.src = "/MobilVasa/images/sys/_sys_cat_unfolded.gif"; var __pplus__PPForceOpen = false;var __pplus__PlusCount = new Number(1);var __pplus__CSSPointer = new String("pointer");var __pplus__BrowserVersion = navigator.appVersion.replace( /(^\d.\d)(.*)/, "$1" );var __pplus__PPonCollapseEvents = new Array();var __pplus__PPonExpandEvents = new Array();var __pplus__groups = new Array(); __pplus_oldcaptionstyle = "PPlusHeader";__pplus_captionstyle = "PPlusCaption";__pplus_captionlinkstyle = "PPlusCaption";__pplus_contentstyle = "PPlusContent";__pplus__PPForceOpen = true; function _pplus_GetObjectEx(vDivID) {if( document.getElementById ) {return eval("document.getElementById('" + vDivID + "')");} else {if( navigator.appName == "Netscape") { return eval("document." + vDivID);} else { return eval("document.all." + vDivID);}}} if(navigator.appName == "Microsoft Internet Explorer" && navigator.userAgent.indexOf("Opera")==-1 ) { if( parseFloat(__pplus__BrowserVersion)<6) { __pplus__CSSPointer = "hand"; }; __pplus__PPForceOpen = false; }else if ( navigator.userAgent.indexOf("Gecko") !=-1){__pplus__PPForceOpen = false; }; function PellePlus(tCaption, tText, tJS, tClass) { this.ShowImage = true; this.GetPlusStart = PellePlus_getplusstart; this.GetPlusEnd = PellePlus_getplusend; this.ri = PellePlus_removeimage; this.WritePlus = PellePlus_writeplus; this.OnExpand_AddEvent = PellePlus_expandaddevent; this.OnCollapse_AddEvent = PellePlus_collapseaddevent; this.Style_Caption = ""; this.Style_CaptionLink = tClass; //""; this.Style_Content = ""; this.Style_OldHeader = ""; this.Lock = PellePlus_lock; if( !tText ) {tText = "";} this.caption = tCaption; this.text = tText; this.js = tJS; this.GetPlus = PellePlus_getplus; this.ar = PellePlus_appendrow; this.Unfold = PellePlus_unfold; this.ID = __pplus__PlusCount; this.Display = "none"; this.EventID = this.ID-1; this.locked = false; this.groupName = ""; this.SetGroup = PellePlus_setgroup; this.SetStyles = PellePlus_setstyles; __pplus__PPonCollapseEvents[this.EventID] = new Array();__pplus__PPonCollapseEvents[this.EventID][0] = "";__pplus__PPonExpandEvents[this.EventID] = new Array();__pplus__PPonExpandEvents[this.EventID][0] = ""; } function PellePlus_expandaddevent(vNewEvent){__pplus__PPonExpandEvents[this.EventID][__pplus__PPonExpandEvents[this.EventID].length] = vNewEvent;} function PellePlus_collapseaddevent(vNewEvent){__pplus__PPonCollapseEvents[this.EventID][__pplus__PPonCollapseEvents[this.EventID].length] = vNewEvent;} function PellePlus_setstyles( CaptionStyle, CaptionLinkStyle, ContentStyle, OldHeaderStyle){this.Style_Caption = CaptionStyle; this.Style_CaptionLink = CaptionLinkStyle; this.Style_Content = ContentStyle; this.Style_OldHeader = OldHeaderStyle;} function PellePlus_setgroup( vGroupName ) {this.groupName = vGroupName} function PellePlus_lock() {this.locked = true;} function PellePlus_appendrow(vNewText) {this.text+=vNewText + "
";} function PellePlus_unfold() {this.Display = "block";} function PP_SwitchOpen(vObjID, theImageToo, EventID, GroupName) { theImageToo = (theImageToo==1)?true:false; if( GroupName ) { if( __pplus__groups[GroupName] ) { var group_members = __pplus__groups[GroupName].split(","); for( var s=0; s '; } else { IMAGE_CODE = ''; } if( varExtra==-1 || varExtra==1) { HTML_FullCaption = this.caption; txt = HTML_FullCaption; HTML_AStart = ''; HTML_AEnd = ''; HTML_FullCaption = this.caption; if( HTML_FullCaption.indexOf("")==-1) { HTML_FullCaption = IMAGE_CODE + "" + txt + ""; //HTML_FullCaption = IMAGE_CODE + "" + HTML_FullCaption + ""; } else { HTML_FullCaption = IMAGE_CODE + HTML_FullCaption } HTML_FullCaption = HTML_FullCaption.replace(/(.*)()(.*)(<\/a>)(.*)/gi, "$1" + HTML_AStart + "$3" + HTML_AEnd + "$5"); HTMLOutput = '' + HTML_FullCaption + '
'; HTMLOutput+= '
'+this.text; } if( varExtra==-1 || varExtra==2) { HTMLOutput+= '
\n\n'; } return HTMLOutput; } else { HTMLOutput = ""; HTML_FullCaption = this.caption; HTML_FullCaption = HTML_FullCaption.replace(/(<[^>]*>)/gi, ""); if( varExtra==-1 || varExtra==1) { HTMLOutput+= '' + HTML_FullCaption + ''; HTMLOutput+= '
 
'+ this.text; } if( varExtra==-1 || varExtra==2) { HTMLOutput+='
';} return HTMLOutput; } } function PellePlus_getplusstart() { return this.GetPlus(1);} function PellePlus_getplusend() { return this.GetPlus(2);}