/* This is the Javasript file for the Job_Artwok_Setup.html system
this file is the property of Aartplus.com and copying and or using it without prier
permission is strictly prohibited */

/* Global variable declarations */
var artworkTotal = 0.00;

function setCursorDefault()
{
	document.body.style.cursor = 'default';
}

function JobArtworkSetupQuote()
{
	var artworkSetupType = parseInt(document.Job_Artwork_SetupForm.artCheckOptions.value);
	
	document.body.style.cursor = 'wait';
	
	switch(artworkSetupType){
	case 0:
	document.getElementById("Job_Artwork_Setup_Description").innerHTML = "";
	document.getElementById("Job_Artwork_Setup_Warning").innerHTML = "<img src=\"images/warning.gif\">";
	artworkTotal = 0.00;
	artworkTotalPrint();
	setTimeout("setCursorDefault()",300);
	break;
	case 1:
	document.getElementById("Job_Artwork_Setup_Description").innerHTML = "NO ART CHECK - For Time-sensitive jobs. Use this for jobs when you are SURE your job meets press requirements. If you select this option, we will NOT do any checks on your art and send it to press AS-IS. Jobs with this option will never be put on hold due to failing an art check and possibly missing your deadline. Note that there are NO REPRINTS due to printing problems resulting from problems with your artwork such as low resolution, incorrect black settings, missing fonts, etc.";
	document.getElementById("Job_Artwork_Setup_Warning").innerHTML = "<img src=\"images/warning_placeholder.gif\">";
	artworkTotal = 0.00;
	artworkTotalPrint();
	setTimeout("setCursorDefault()",300);
	break;
	case 2:
	document.getElementById("Job_Artwork_Setup_Description").innerHTML = "FREE STANDARD ART CHECK - We check the resolution, fonts, bleeds, size and crop marks for the files you upload. If your art fails one of these checks, your job will be placed on hold, and you will be sent an email notifying you. Your job will continue to be on hold until you upload a new file.";
	document.getElementById("Job_Artwork_Setup_Warning").innerHTML = "<img src=\"images/warning_placeholder.gif\">";		
	artworkTotal = 0.00;
	artworkTotalPrint();
	setTimeout("setCursorDefault()",300);
	break;
	case 3:
	document.getElementById("Job_Artwork_Setup_Description").innerHTML = "ADVANCED ART CHECK - $25 - The same as the Standard Art Check, but if we find a problem we will fix it for you -- up to one hour of professional graphic designer time -- and re-upload the fixed artwork for you. NOTE: We cannot fix low-resolution artwork without a replacement hi-resolution file. You will still be responsible for reviewing the corrected file and sending it to press.";
	document.getElementById("Job_Artwork_Setup_Warning").innerHTML = "<img src=\"images/warning_placeholder.gif\">";	
	artworkTotal = 25.00;
	artworkTotalPrint();
	setTimeout("setCursorDefault()",300);
	break;
	case 4:
	document.getElementById("Job_Artwork_Setup_Description").innerHTML = "EXPERT ART CHECK - $65 - Our most comprehensive service. We check 15 factors - everything from line screens to black tones. We will call you to review the artwork for things like color tones, any bindery options, fonts, bleeds, custom trimming and answer any questions you might have. If your art needs any corrections, our professional graphic designers will spend up to 2 hours making fixes. NOTE: We cannot fix low-resolution artwork without a replacement hi-resolution file. When we are done, all you will have to do is review the file and send it to press.";
	document.getElementById("Job_Artwork_Setup_Warning").innerHTML = "<img src=\"images/warning_placeholder.gif\">";
	artworkTotal = 65.00;
	artworkTotalPrint();
	setTimeout("setCursorDefault()",300);
	break;
	default: 
	}
}
function artworkTotalPrint()
{
	document.getElementById("priceJAS").innerHTML = "$" + (artworkTotal.toFixed(2));
}