function showNextLayer(currentLayer,nextLayer) { document.getElementById("Layer" + currentLayer).style.visibility = "hidden"; document.getElementById("Layer" + nextLayer).style.visibility= "visible"; self.scrollTo(0, 0) } function showPrevLayer(currentLayer) { document.getElementById("Layer" + currentLayer).style.visibility = "hidden"; document.getElementById("Layer" + (--currentLayer)).style.visibility= "visible"; self.scrollTo(0, 0) } function setOrder() { var which = document.forms['SubmitOrder']; var detailsCookie = ""; detailsCookie += which.OrderTitle.value + ";" detailsCookie += which.Quantity.value + ";" detailsCookie += which.OrderPrice.value + ";" detailsCookie += which.CustomField_1.value + ";" detailsCookie += which.Firstname.value + ";" detailsCookie += which.Lastname.value + ";" detailsCookie += which.EmailAddress.value + ";" detailsCookie += which.Organisation.value + ";" detailsCookie += which.PostalAddress.value + ";" detailsCookie += which.PostalCity.value + ";" detailsCookie += which.PostalState.value + ";" detailsCookie += which.PostalCode.value + ";" detailsCookie += which.PhoneNumber.value + ";" detailsCookie += which.Comments.value + ";" var cookieExpires = new Date(); cookieExpires.setTime(cookieExpires.getTime() + (1 * 60 * 60 * 1000 )); setCookie('LJFOrder', detailsCookie, cookieExpires, '/'); } function createOrderInfo() { getCookie('LJFOrder') ? thisCookie = getCookie('LJFOrder') : thisCookie = ""; var thisOrder = thisCookie.split(";"); var orderTable = '
| Order Details | |||
| Product Title: | ' + thisOrder[0] + ' | ||
| Purchase Qty: | ' + thisOrder[1] + ' | Unit Cost: $' + thisOrder[2] + ' | Total Order Cost (AUD): $ ' + thisOrder[3] + ' |
Contact Details | |||
| First Name:* | ' + thisOrder[4] + ' | Last Name: | ' + thisOrder[5] + ' |
| Email: | ' + thisOrder[6] + ' | ||
| Organisation: | ' + thisOrder[7] + ' | ||
| Postal Address: | ' + thisOrder[8] + ' | ||
| Suburb / City | ' + thisOrder[9] + ' | State: ' + thisOrder[10] + ' | Post Code: ' + thisOrder[11] + ' |
| Phone contact: | ' + thisOrder[12] + ' | ||
| Comments: | ' + thisOrder[13] + ' | ||