/* function that checks the DOM  */
function getObj(name){
if (document.getElementById)
  {this.obj = document.getElementById(name);}
else if (document.all)
  {this.obj = document.all[name];}
else if (document.layers)
  {this.obj = document.layers[name];}
}


/* function that gets the images, including go back and go on, and the title */
function getSubjects() {
//var thisWarning = new getObj("Javawarning");
//thisWarning.obj.style.display="none";
var thisHTML ='<ul class="FAQ">';
for (i=0;i<theSubjects.length;i++) {
thisHTML += '<li class="maintextbold" id="Subject' + i + '"><p><a href="Javascript:nada();" onClick="closeallanswers();showanswer(' + i + ');" class="anchor_showprices">' + theSubjects[i][0] + '</a></p>';
thisHTML += '<div class="answer" id="Q' + i + '"><p>' + theSubjects[i][1];
thisHTML += '<br>&nbsp;</p></div></li>'; 
}
thisHTML = thisHTML + '</ul>';
x = new getObj("mySubjects");
if (document.getElementById || document.all) {x.obj.innerHTML = thisHTML;}
else { x.obj.document.open();
x.obj.document.write(thisHTML);
x.obj.document.close();}
}

function showanswer(x) {
var thisanswer = new getObj("Q"+x);
thisanswer.obj.style.display="block";
//var thisanswerlink = new getObj("answerlink"+x);
//thisanswerlink.obj.style.display="none";
}

function closeanswer(x) {
var thisanswer = new getObj("Q"+x);
thisanswer.obj.style.display="none";
//var thisanswerlink = new getObj("answerlink"+x);
//thisanswerlink.obj.style.display="inline";
}

function showallanswers() {
for (i=0;i<theSubjects.length;i++) {
var thisanswer = new getObj("Q"+i);
thisanswer.obj.style.display="block";
//var thisanswerlink = new getObj("answerlink"+i);
//thisanswerlink.obj.style.display="none";
}
}

function closeallanswers() {
for (i=0;i<theSubjects.length;i++) {
var thisanswer = new getObj("Q"+i);
thisanswer.obj.style.display="none";
//var thisanswerlink = new getObj("answerlink"+i);
//thisanswerlink.obj.style.display="inline";
}
}

var theSubjects = new Array();
theSubjects[0] = ["How can I pay?", "Payment can be made by credit card through our secure Paypal system.<br>We accept the following cards Visa, Delta, Electron, MasterCard, Eurocard, American Express, Switch, Maestro & Solo. We also accept payment by personal cheque & BACS. Please contact us if you would like further information regarding any of our payment options."];
theSubjects[1] = ["What happens if I wish to order but would rather not use my credit card online?", "Although Paypal is totally secure, you can also phone in your order by calling Robert on 07956 505 186. Office hours only please, see below for our opening times.<br/>Monday to Friday 9:30 to 5:30 | Saturday & Sunday 11 to 1:30"];
/*theSubjects[2] = ["How do I order?", "Just like a shopping trolley at a supermarket, you can put things in your cart (by clicking on the 'add to basket' button) without having to buy them - it is just a way of holding onto things that you are interested in. You are not committed to a purchase until you take your selected item(s) through to the checkout. However, you cannot purchase an item until it has been added to your cart, so remember to check the contents of your cart carefully before you check out. You can check the contents of your cart at any time by clicking on the view cart link along the top of the page or on the right hand side of the category pages. If you want to remove something, simply click on the red x.<br />When you have finished shopping click on the 'view cart', then click on proceed to checkout button. You will be then asked for your personal details (please note that the shopping cart uses cookies to operate)."];*/
theSubjects[2] = ["How do I order?", "Click on the <strong>'buy print'</strong> button underneath the image you want. You will then be asked to choose the Medium and the Size you require. Once selected, you will be shown the details of your order, along with a thumbnail of your chosen image. Please check these details carefully.<br>&nbsp;<br> When you are satisfied that the order is correct, click on the '<strong>Buy Now</strong>' button. This will take you to the PayPal site for payment. Remember that <strong>you do not need to have a PayPal account to pay us with a Credit or Debit card</strong>. However, if you do have a PayPal account, you may also pay using that. You are not committed to a purchase until you have taken your selected item through the PayPal payment process. When completed, you will receive an email from PayPal confirming your purchase with us."];

/*theSubjects[3] = ["What are cookies?", "Cookies are small computer files that help identify your browser when you start to add items to your cart. They do not contain any personal information about you or your computer. When the order is completed the cookie used by this website will be deleted. No one else has access to or is able to use or copy your cookie. This small file will enable you to start shopping, then close your browser, shut down your computer and then return to this website at a later date to continue shopping with the same items in your cart."];*/

theSubjects[3] = ["Are my card details safe?", "We do not store any details about you or your payment on our system. The transaction is handled completely by PayPal's secure system. PayPal (Europe) Ltd. is authorised and regulated by the Financial Services Authority in the United Kingdom as an electronic money institution and guarantees to protect your privacy and security. For more information about this guarantee, you can view their 'Privacy Policy' and their 'User Agreement and Service Description' on the first page of the PayPal checkout, before you enter any personal details. If you would prefer not to use this method of payment, see '<em>What happens if I wish to order but would rather not use my credit card online?</em>' above."];

theSubjects[4] = ["What are your typical delivery times?", "The delivery time for canvas prints is between 7 to 10 days. The perspex prints take slightly longer (usually 2 to 3 weeks from the date of your order). If your order is urgent then please let us know & we will do our utmost to get it to you as quickly as possible.<br>&nbsp;<br><strong>If you would like your canvas print delivered before Christmas then you need to order before 2pm on Sunday Dec 11th (UK deliveries only)</strong>"];
theSubjects[5] = ["Is there a charge for delivery?", "All prices listed on this site include free postage & packaging to all UK destinations."];
theSubjects[6] = ["Do you deliver overseas?", "Yes we do, please contact us for delivery times & prices."];
theSubjects[7] = ["Can I place an order & arrange for it to be sent to another address?", "When entering your personal details you will be given an opportunity to say whether you wish to use your own address or supply a different delivery address."];
theSubjects[8] = ["Is there a discount for multiple / bulk orders?", "Yes there is, please contact us for further information."];
theSubjects[9] = ["Can I have a print size that's not on the price list?", "Yes we are more than happy to do this. Please contact us with your request & we will let you know how much your custom print will cost."];
theSubjects[10] = ["Can I choose a rectangular image & have it made into a square print & vice versa?", "Yes in 99% of cases we can do this. We turn a rectangular image into a square image, by cropping it or adding borders where appropriate. We turn a square image into a rectangle by cropping off some of the image to achieve your desired rectangle. We will email you a jpeg showing you how your print will look based on your chosen dimensions. If you have already paid &amp; are unhappy with how your print will look then we will refund your payment in full."];
theSubjects[11] = ["Can you print onto things other than canvas & perspex?", "Yes we can print onto lots of different surfaces. Please contact us if you would like to know more."];
theSubjects[12] = ["Can you make me a canvas or perspex print using one of my own images?", "Yes we can, although with one or two exceptions. We can only do this from a digital file & the file must be of sufficient resolution & quality to be enlarged to your desired print size. We will be able to ascertain whether your file is suitable by way of a short email (or phone call). We accept digital files either on CD or as email attachments, but please let us know prior to sending."];
theSubjects[13] = ["Do you supply to trade?", "Yes we do, please contact us for a list of all our trade prices."];
theSubjects[14] = ["What if my purchase is already damaged when I open the packaging?", "In the unlikely event that your print is damaged during transit, then please retain all the packaging & contact us as soon as you are able to do so."];
theSubjects[15] = ["What if I am not happy with my print?", "In the highly unlikely event that you are not totally happy with your purchase, we will refund all your costs."];
theSubjects[16] = ["Will my print look like it did on my computer screen?", "The colour of your finished artwork may differ fractionally from its internet version. This is due to unavoidable colour shifts between differently setup computer screens."];
theSubjects[17] = ["How do I care for my canvas?", "Because all our canvases have a (UV) laminate coating you can gently wipe them with a clean damp cloth. Avoiding direct sunlight will also prolong the life of your canvas."];
/*theSubjects[18] = ["Do your prices include VAT?", "Yes all are prices include UK VAT at 17.5%."];*/
theSubjects[18] = ["Who holds copyright on the artwork once it has been sold?", "Buying a piece of art from this website gives you ownership of the physical artwork but not ownership of the Copyright. The Copyright at all times remains the property of Robert Ashton / Massive Pixels."];
theSubjects[19] = ["Do you do commissioned work?", "We love doing commissions, please let us know what you require & we will do it for you!"];
theSubjects[20] = ["Do you have a gallery or shop where I can see examples of your work?", "We do exhibit at various places in the UK, but at present do not have our own exhibition space. If you are interested in showing or stocking any of our work then please let us know."];

/*var theSubjects = new Array();
theSubjects[0] = ["How can I pay?", "Currently, UK customers can print off an order form & then post it back to us enclosing a cheque for the correct amount (made payable to MASSIVE PIXELS).<br>Please contact us (by email or phone) if you are based outside the UK & would like to find out about the various payment options available to you.<br>We will be accepting payment by Credit or Debit Card within the next few days."];
theSubjects[1] = ["What are your typical delivery times?", "The delivery time for canvas prints is between 7 to 10 days. The perspex prints take slightly longer (usually 2 to 3 weeks from the date of your order). If your order is urgent then please let us know & we will do our utmost to get it to you as quickly as possible."];
theSubjects[2] = ["Is there a charge for delivery?", "All prices listed on this site include free postage & packaging to all UK destinations."];
theSubjects[3] = ["Do you deliver overseas?", "Yes we do, please contact us for delivery times & prices."];
theSubjects[4] = ["Is there a discount for multiple / bulk orders?", "Yes there is, please contact us for further information."];
theSubjects[5] = ["Can I have a print size that's not on the price list?", "Yes we are more than happy to do this. Please contact us with your request & we will let you know how much your custom print will cost."];
theSubjects[6] = ["Can you print onto things other than canvas & perspex?", "Yes we can print onto lots of different surfaces. Please contact us if you would like to know more."];
theSubjects[7] = ["Can you make me a canvas or perspex print using one of my own images?", "Yes we can, although with one or two exceptions. We can only do this from a digital file & the file must be of sufficient resolution & quality to be enlarged to your desired print size. We will be able to ascertain whether your file is suitable by way of a short email (or phone call). We accept digital files either on CD or as email attachments, but please let us know prior to sending."];
theSubjects[8] = ["Do you supply to trade?", "Yes we do, please contact us for a list of all our trade prices."];
theSubjects[9] = ["What if my purchase is already damaged when I open the packaging?", "In the unlikely event that your print is damaged during transit, then please retain all the packaging & contact us as soon as you are able to do so."];
theSubjects[10] = ["What if I am not happy with my print?", "In the highly unlikely event that you are not totally happy with your purchase, we will refund all your costs."];
theSubjects[11] = ["Will my print look like it did on my computer screen?", "The colour of your finished artwork may differ fractionally from its internet version. This is due to unavoidable colour shifts between differently setup computer screens."];
theSubjects[12] = ["How do I care for my canvas?", "Because all our canvases have a (UV) laminate coating you can gently wipe them with a clean damp cloth. Avoiding direct sunlight will also prolong the life of your canvas."];
theSubjects[13] = ["Do your prices include VAT?", "Yes all are prices include UK VAT at 17.5%."];
theSubjects[14] = ["Who holds copyright on the artwork once it has been sold?", "Buying a piece of art from this website gives you ownership of the physical artwork but not ownership of the Copyright. The Copyright at all times remains the property of Robert Ashton / Massive Pixels."];
theSubjects[15] = ["Do you do commissioned work?", "We love doing commissions, please let us know what you require & we will do it for you!"];
theSubjects[16] = ["Do you have a gallery or shop where I can see examples of your work?", "We do exhibit at various places in the UK, but at present do not have our own exhibition space. If you are interested in showing or stocking any of our work then please let us know."];*/


