﻿// JScript File
function insertCancelTxt()
{
    var txtPlaceHolder = document.getElementById('affNotice');
    txtPlaceHolder.innerHTML += '<br />\n<span class="t_green_heading">How to Cancel</span><br />';
    txtPlaceHolder.innerHTML += 'For help with cancellations you can contact our Customer Service team.<br />';
    txtPlaceHolder.innerHTML += 'Your credit card will be refunded with the amount due, accordingly to the cancellation policy!<br />';
}

function insertCancelTxtQ()
{
    var txtPlaceHolder = document.getElementById('affNotice');
    txtPlaceHolder.innerHTML += '<br />\n<span class="t_green_heading">How to Cancel</span><br />You can cancel confirmed bookings via the <a href="/MyBookings.aspx">View Booking</a>.<br />';
    txtPlaceHolder.innerHTML += 'For help with cancellations you can contact our Customer Service team.<br />';
    txtPlaceHolder.innerHTML += 'Your credit card will be refunded with the amount due, accordingly to the cancellation policy!<br />';
}

function GetHowToCancelTxt()
{
    var divHowtoCancel = document.getElementById('areaHowToCancel');
    
    divHowtoCancel.innerHTML = '<table width="100%" cellspacing="1" cellpadding="1" border="0"><tbody><tr><td valign="top"><table width="100%" cellspacing="0" cellpadding="0" border="0"><tbody><tr valign="top"><td><img src="http://resource.isango.com/images/isango/en/dot_bullet.gif"/></td><td><span class="t_avail_normal">Your credit card will be refunded with the amount due, according to the cancellation policy.</span></td></tr><tr valign="top"><td><img src="http://resource.isango.com/images/isango/en/dot_bullet.gif"/></td><td><span class="t_avail_normal">For help with cancellations you can <a href="mailto:accorsupport@isango.com" title="mailto:accorsupport@isango.com">email us</a>(accorsupport@isango.com).</span></td></tr></tbody></table></td></tr></tbody></table>';
}
function GetHowToCancelTxtDE()
{
    var divHowtoCancel = document.getElementById('areaHowToCancel');
    
    divHowtoCancel.innerHTML = '<table width="100%" cellspacing="1" cellpadding="1" border="0"><tbody><tr><td valign="top"><table width="100%" cellspacing="0" cellpadding="0" border="0"><tbody><tr valign="top"><td><img src="http://resource.isango.com/images/isango/en/dot_bullet.gif"/></td><td><span class="t_avail_normal">Der gemäß den Rücktrittsbedingungen anfallende Rückerstattungsbetrag wird Ihrer Kreditkarte gutgeschrieben.</span></td></tr><tr valign="top"><td><img src="http://resource.isango.com/images/isango/en/dot_bullet.gif"/></td><td><span class="t_avail_normal">Wenn Sie Hilfe bei Stornierungen brauchen<a title="mailto:accorsupport@isango.com" href="mailto:accorsupport@isango.com"> senden Sie uns eine E-Mail</a> (accorsupport@isango.com) oder rufen Sie unser Kundenservice-Team an (Montag-Freitag 9-18 Uhr).</span></td></tr></tbody></table></td></tr></tbody></table>';
}

function GetHowToCancelTxtForGWDE()
{
    var divHowtoCancel = document.getElementById('areaHowToCancel');
    
    divHowtoCancel.innerHTML = '<table width="100%" cellspacing="1" cellpadding="1" border="0"><tbody><tr><td valign="top"><table width="100%" cellspacing="0" cellpadding="0" border="0"><tbody><tr valign="top"><td><img src="http://resource.isango.com/images/isango/en/dot_bullet.gif"/></td><td><span class="t_avail_normal">Der gemäß den Rücktrittsbedingungen anfallende Rückerstattungsbetrag wird Ihrer Kreditkarte gutgeschrieben.</span></td></tr><tr valign="top"><td><img src="http://resource.isango.com/images/isango/en/dot_bullet.gif"/></td><td><span class="t_avail_normal">Wenn Sie Hilfe bei Stornierungen brauchen<a title="mailto:gwkontakt@isango.de" href="mailto:gwkontakt@isango.de"> senden Sie uns eine E-Mail</a> (gwkontakt@isango.de) oder rufen Sie unser Kundenservice-Team an (Montag-Freitag 9-18 Uhr).</span></td></tr></tbody></table></td></tr></tbody></table>';
}
function GetCancelTxtForQantas()
{
    var divHowtoCancel = document.getElementById('areaHowToCancel');
    
    divHowtoCancel.innerHTML = '<table width="100%" cellspacing="1" cellpadding="1" border="0"><tbody><tr><td valign="top"><table width="100%" cellspacing="0" cellpadding="0" border="0"><tbody><tr valign="top"><td><img src="http://resource.isango.com/images/isango/en/dot_bullet.gif"/></td><td><span class="t_avail_normal">Your credit card will be refunded with the amount due, according to the cancellation policy.</span></td></tr><tr valign="top"><td><img src="http://resource.isango.com/images/isango/en/dot_bullet.gif"/></td><td><span class="t_avail_normal">You can cancel confirmed bookings via the <a href="/MyBookings.aspx">View Booking</a>.&nbsp;For help with cancellations you can <a href="mailto:qantassupport@isango.com" title="mailto:qantassupport@isango.com">email us</a> at qantassupport@isango.com.</span></td></tr></tbody></table></td></tr></tbody></table>';
}

function GetWhatHappensAfteryoubook()
{
    var divWhatHappensAfter = document.getElementById('areaWhatHappens');

    divWhatHappensAfter.innerHTML = '<table width="100%" cellspacing="1" cellpadding="1" border="0"><tr><td valign="top"><table width="100%" cellspacing="0" cellpadding="0" border="0"><tr valign="top"><td><img src="http://resource.isango.com/images/isango/en/dot_bullet.gif"/></td><td><span class="t_avail_normal">Please print the electronic voucher sent to you and give them to the operator on the day of the activity.</span></td></tr><tr valign="top"><td><img src="http://resource.isango.com/images/isango/en/dot_bullet.gif"/></td><td><span class="t_avail_normal">The voucher also includes the operator\'s complete contact details, and local telephone numbers at the destination. They will happily answer any logistical questions you have.</span></td></tr><tr valign="top"><td><img src="http://resource.isango.com/images/isango/en/dot_bullet.gif"/></td><td><span class="t_avail_normal">We have a dedicated team of expert Destination Managers who select the most professional and reliable operators to make sure you have a hassle-free and enjoyable experience! You can always find out more by viewing our <a target="_blank" href="/faq.aspx" title="http://www.isango.com/faq.aspx">faq\'s</a>or contacting us via <a href="mailto:accorsupport@isango.com" title="mailto:accorsupport@isango.com">email.</a></span></td></tr></table></td></tr></table>'; 
}

function GetWhatHappensAfteryoubookQ()
{
    var divWhatHappensAfter = document.getElementById('areaWhatHappens');

    divWhatHappensAfter.innerHTML = '<table width="100%" cellspacing="1" cellpadding="1" border="0"><tr><td valign="top"><table width="100%" cellspacing="0" cellpadding="0" border="0"><tr valign="top"><td><img src="http://resource.isango.com/images/isango/en/dot_bullet.gif"/></td><td><span class="t_avail_normal">Please print the electronic voucher sent to you and give them to the operator on the day of the activity.</span></td></tr><tr valign="top"><td><img src="http://resource.isango.com/images/isango/en/dot_bullet.gif"/></td><td><span class="t_avail_normal">The voucher also includes the operator\'s complete contact details, and local telephone numbers at the destination. They will happily answer any logistical questions you have.</span></td></tr><tr valign="top"><td><img src="http://resource.isango.com/images/isango/en/dot_bullet.gif"/></td><td><span class="t_avail_normal">We have a dedicated team of expert Destination Managers who select the most professional and reliable operators to make sure you have a hassle-free and enjoyable experience! You can always find out more by viewing our <a target="_blank" href="/faq.aspx" title="http://www.isango.com/faq.aspx">faq\'s</a>or contacting us via <a href="mailto:qantassupport@isango.com" title="mailto:qantassupport@isango.com">email.</a></span></td></tr></table></td></tr></table>'; 
}

function removeSubscription()
{
    var subOne = document.getElementById('ctl00_MainContent_UcPayment1_UcPaymentLoginDetail1_chkSubscribe');
    var subTwo = document.getElementById('ctl00_MainContent_UcPayment1_UcPaymentLoginDetail1_a');
    subOne.checked = false;
    subTwo.checked = false;
}

function RedactSupport()
{
  var divXtra = document.getElementById('affcustom');
  divXtra.innerHTML = '<a href="http://qantas.custhelp.com/cgi-bin/qantas.cfg/php/enduser/ask.php?p_cats=1%2C387&cat_lvl1=1&cat_lvl2=387" class="leftimg"><img src="http://resource.isango.com/images/Qantas/email.jpg" /></a><a href="http://qantas.custhelp.com/cgi-bin/qantas.cfg/php/enduser/std_alp.php?p_cv=2.387&p_cats=1%2C387&cat_lvl1=1&cat_levl2=387" class="rightimg"><img src="http://resource.isango.com/images/Qantas/faq.jpg" /></a>';
}