/*
 * Chat scripts used to display Live Guide chat window button
 */
 
function displayLiveGuideBringExpressKundeserviceButton() {
var LGPID = 'LiveGuide_sxaxfgb4A997awub7';document.write('<img src="'+document.location.protocol+'//clients-liveguide01eu.netop.com/status.php?LiveGuideUID=sxaxfgb4A997a9pfV&from='+escape(window.location)+'" border="0" style="cursor:pointer;" alt="Live Guide Support" onClick="LGWin=window.open(\'https://clients-liveguide01eu.netop.com/swf.php?LiveGuideUID=sxaxfgb4A997a9pfV&myurl='+escape(escape(window.location))+'&title='+escape(escape(document.title))+ LiveGuideGetCookie(LGPID+'_duration', 'LiveGuideCIDuration', 'duration')+ LiveGuideGetCookie(LGPID+'_ref', 'LiveGuideCIRef', 'referrer')+ LiveGuideGetCookie(LGPID+'_title', 'LiveGuideCITitle', 'title')+ LiveGuideGetCookie(LGPID+'_url', 'LiveGuideCIUrl', 'url')+'\' ,\'NetopWebDesk\', \'width=250,height=640,status=yes,left='+(screen.availWidth-250)+',top=0,resizable=1\');LGWin.focus();return false;" >');function LiveGuideGetCookieValue(cookieName, noCookie) {if (document.cookie.length>0) {cookieStart = document.cookie.indexOf(cookieName + "=");if (cookieStart!=-1) {cookieStart=cookieStart + cookieName.length+1;cookieEnd=document.cookie.indexOf(";",cookieStart);if (cookieEnd==-1) cookieEnd=document.cookie.length;return escape(document.cookie.substring(cookieStart,cookieEnd));}}switch (noCookie) {case 'title':return escape(escape(window.document.title));break;case 'url':return escape(escape(window.document.URL));break;case 'referrer':return escape(escape(window.document.referrer));break;default:return "";}}function LiveGuideGetCookie(cookieName, name, noCookie) {if (noCookie == 'duration') {var mydate = new Date().getTime();var cookieValue = LiveGuideGetCookieValue(LGPID + '_date', noCookie);var cookieValue = Math.abs(mydate - parseInt(cookieValue));}else var cookieValue = LiveGuideGetCookieValue(cookieName, noCookie);return ('&'+name+'=' + cookieValue);}
}
function displayLiveGuideBringParcelVIPButton() {
var LGPID = 'LiveGuide_sxaxfgb4A997awub7';document.write('<img src="'+document.location.protocol+'//clients-liveguide01eu.netop.com/status.php?LiveGuideUID=sxaxfgb4A997aq6AH&from='+escape(window.location)+'" border="0" style="cursor:pointer;" alt="Live Guide Support" onClick="LGWin=window.open(\'https://clients-liveguide01eu.netop.com/swf.php?LiveGuideUID=sxaxfgb4A997aq6AH&myurl='+escape(escape(window.location))+'&title='+escape(escape(document.title))+ LiveGuideGetCookie(LGPID+'_duration', 'LiveGuideCIDuration', 'duration')+ LiveGuideGetCookie(LGPID+'_ref', 'LiveGuideCIRef', 'referrer')+ LiveGuideGetCookie(LGPID+'_title', 'LiveGuideCITitle', 'title')+ LiveGuideGetCookie(LGPID+'_url', 'LiveGuideCIUrl', 'url')+'\' ,\'NetopWebDesk\', \'width=250,height=640,status=yes,left='+(screen.availWidth-250)+',top=0,resizable=1\');LGWin.focus();return false;" >');function LiveGuideGetCookieValue(cookieName, noCookie) {if (document.cookie.length>0) {cookieStart = document.cookie.indexOf(cookieName + "=");if (cookieStart!=-1) {cookieStart=cookieStart + cookieName.length+1;cookieEnd=document.cookie.indexOf(";",cookieStart);if (cookieEnd==-1) cookieEnd=document.cookie.length;return escape(document.cookie.substring(cookieStart,cookieEnd));}}switch (noCookie) {case 'title':return escape(escape(window.document.title));break;case 'url':return escape(escape(window.document.URL));break;case 'referrer':return escape(escape(window.document.referrer));break;default:return "";}}function LiveGuideGetCookie(cookieName, name, noCookie) {if (noCookie == 'duration') {var mydate = new Date().getTime();var cookieValue = LiveGuideGetCookieValue(LGPID + '_date', noCookie);var cookieValue = Math.abs(mydate - parseInt(cookieValue));}else var cookieValue = LiveGuideGetCookieValue(cookieName, noCookie);return ('&'+name+'=' + cookieValue);}
}
function displayLiveGuidePacketCoachButton() {
var LGPID = 'LiveGuide_sxaxfgb4A997awub7';document.write('<img src="'+document.location.protocol+'//clients-liveguide01eu.netop.com/status.php?LiveGuideUID=sxaxfgb4A997a38c0&from='+escape(window.location)+'" border="0" style="cursor:pointer;" alt="Live Guide Support" onClick="LGWin=window.open(\'https://clients-liveguide01eu.netop.com/swf.php?LiveGuideUID=sxaxfgb4A997a38c0&myurl='+escape(escape(window.location))+'&title='+escape(escape(document.title))+ LiveGuideGetCookie(LGPID+'_duration', 'LiveGuideCIDuration', 'duration')+ LiveGuideGetCookie(LGPID+'_ref', 'LiveGuideCIRef', 'referrer')+ LiveGuideGetCookie(LGPID+'_title', 'LiveGuideCITitle', 'title')+ LiveGuideGetCookie(LGPID+'_url', 'LiveGuideCIUrl', 'url')+'\' ,\'NetopWebDesk\', \'width=250,height=640,status=yes,left='+(screen.availWidth-250)+',top=0,resizable=1\');LGWin.focus();return false;" >');function LiveGuideGetCookieValue(cookieName, noCookie) {if (document.cookie.length>0) {cookieStart = document.cookie.indexOf(cookieName + "=");if (cookieStart!=-1) {cookieStart=cookieStart + cookieName.length+1;cookieEnd=document.cookie.indexOf(";",cookieStart);if (cookieEnd==-1) cookieEnd=document.cookie.length;return escape(document.cookie.substring(cookieStart,cookieEnd));}}switch (noCookie) {case 'title':return escape(escape(window.document.title));break;case 'url':return escape(escape(window.document.URL));break;case 'referrer':return escape(escape(window.document.referrer));break;default:return "";}}function LiveGuideGetCookie(cookieName, name, noCookie) {if (noCookie == 'duration') {var mydate = new Date().getTime();var cookieValue = LiveGuideGetCookieValue(LGPID + '_date', noCookie);var cookieValue = Math.abs(mydate - parseInt(cookieValue));}else var cookieValue = LiveGuideGetCookieValue(cookieName, noCookie);return ('&'+name+'=' + cookieValue);}
}
function displayLiveGuideBringSalesButton() {
var LGPID = 'LiveGuide_sxaxfgb4A997awub7';document.write('<img src="'+document.location.protocol+'//clients-liveguide01eu.netop.com/status.php?LiveGuideUID=sxaxfgb4A997a7pAJphEK48no&from='+escape(window.location)+'" border="0" style="cursor:pointer;" alt="Live Guide Support" onClick="LGWin=window.open(\'https://clients-liveguide01eu.netop.com/swf.php?LiveGuideUID=sxaxfgb4A997a7pAJphEK48no&myurl='+escape(escape(window.location))+'&title='+escape(escape(document.title))+ LiveGuideGetCookie(LGPID+'_duration', 'LiveGuideCIDuration', 'duration')+ LiveGuideGetCookie(LGPID+'_ref', 'LiveGuideCIRef', 'referrer')+ LiveGuideGetCookie(LGPID+'_title', 'LiveGuideCITitle', 'title')+ LiveGuideGetCookie(LGPID+'_url', 'LiveGuideCIUrl', 'url')+'\' ,\'NetopWebDesk\', \'width=250,height=640,status=yes,left='+(screen.availWidth-250)+',top=0,resizable=1\');LGWin.focus();return false;" >');function LiveGuideGetCookieValue(cookieName, noCookie) {if (document.cookie.length>0) {cookieStart = document.cookie.indexOf(cookieName + "=");if (cookieStart!=-1) {cookieStart=cookieStart + cookieName.length+1;cookieEnd=document.cookie.indexOf(";",cookieStart);if (cookieEnd==-1) cookieEnd=document.cookie.length;return escape(document.cookie.substring(cookieStart,cookieEnd));}}switch (noCookie) {case 'title':return escape(escape(window.document.title));break;case 'url':return escape(escape(window.document.URL));break;case 'referrer':return escape(escape(window.document.referrer));break;default:return "";}}function LiveGuideGetCookie(cookieName, name, noCookie) {if (noCookie == 'duration') {var mydate = new Date().getTime();var cookieValue = LiveGuideGetCookieValue(LGPID + '_date', noCookie);var cookieValue = Math.abs(mydate - parseInt(cookieValue));}else var cookieValue = LiveGuideGetCookieValue(cookieName, noCookie);return ('&'+name+'=' + cookieValue);} 
}
function displayLiveGuideBringPakkerKundeservice (){
var LGPID = 'LiveGuide_';document.write('<img src="'+document.location.protocol+'//clients-liveguide01eu.netop.com/status.php?LiveGuideUID=sxaxfgb4A997a7sALCPQJ3AjT&from='+escape(window.location)+'" border="0" style="cursor:pointer;" alt="Live Guide Support" onClick="LGWin=window.open(\'https://clients-liveguide01eu.netop.com/swf.php?LiveGuideUID=sxaxfgb4A997a7sALCPQJ3AjT&myurl='+escape(escape(window.location))+'&title='+escape(escape(document.title))+ LiveGuideGetCookie(LGPID+'_duration', 'LiveGuideCIDuration', 'duration')+ LiveGuideGetCookie(LGPID+'_ref', 'LiveGuideCIRef', 'referrer')+ LiveGuideGetCookie(LGPID+'_title', 'LiveGuideCITitle', 'title')+ LiveGuideGetCookie(LGPID+'_url', 'LiveGuideCIUrl', 'url')+'\' ,\'NetopWebDesk\', \'width=250,height=640,status=yes,left='+(screen.availWidth-250)+',top=0,resizable=1\');LGWin.focus();return false;" >');function LiveGuideGetCookieValue(cookieName, noCookie) {if (document.cookie.length>0) {cookieStart = document.cookie.indexOf(cookieName + "=");if (cookieStart!=-1) {cookieStart=cookieStart + cookieName.length+1;cookieEnd=document.cookie.indexOf(";",cookieStart);if (cookieEnd==-1) cookieEnd=document.cookie.length;return escape(document.cookie.substring(cookieStart,cookieEnd));}}switch (noCookie) {case 'title':return escape(escape(window.document.title));break;case 'url':return escape(escape(window.document.URL));break;case 'referrer':return escape(escape(window.document.referrer));break;default:return "";}}function LiveGuideGetCookie(cookieName, name, noCookie) {if (noCookie == 'duration') {var mydate = new Date().getTime();var cookieValue = LiveGuideGetCookieValue(LGPID + '_date', noCookie);var cookieValue = Math.abs(mydate - parseInt(cookieValue));}else var cookieValue = LiveGuideGetCookieValue(cookieName, noCookie);return ('&'+name+'=' + cookieValue);} 
}
