//Enter total number of questions:
var totalquestions=10

//Enter the solutions corresponding to each question:
var correctchoices=new Array()
correctchoices[1]='false' //question 1 solution
correctchoices[2]='false' //question 2 solution, and so on.
correctchoices[3]='false'
correctchoices[4]='false'
correctchoices[5]='false'
correctchoices[6]='false'
correctchoices[7]='false'
correctchoices[8]='false'
correctchoices[9]='false'
correctchoices[10]='false'

var questions=new Array()
questions[1]='RCW 60.04.181 states that in cases where different construction liens are claimed against the same property, the court shall declare the rank of each lien in the following order:<ol><li class=\"quiz\">Liens for the performance of labor.  For example, employees of either the general contractor or one or more subcontractors.<li class=\"quiz\">Liens for contributions owed to employee benefit plans.<li class=\"quiz\">Liens for furnishing material, supplies, or equipment.<li class=\"quiz\">Liens for subcontractors, including but not limited to their labor and materials.<li class=\"quiz\">Liens for prime contractors and for providers of professional services (i.e. architects and engineers).</ol><p style=\"text-indent:10px\">So, the priority of a lien has nothing to do with when you record the lien.  Instead, the priority of the lien depends on how your work or contractual relationship on the project is characterized by the court.<p>'
questions[2]='Not all subcontractors must provide the owner with a preliminary notice known as the Notice of Right to Claim Lien.  RCW 60.04.031(2)(c) states that the Notice of Right to Claim Lien shall not be required of subcontractors who contract for the improvement of real property directly with the prime contractor (i.e. first-tier subcontractors), except for subcontractors who furnish professional services (i.e. architects and engineers) materials or equipment in connection with a repair, alteration or remodel of an existing owner-occupied single\-family residence or a appurtenant garage. Subcontractors contracting directly with the prime contractor need not provide the owner (or the prime contractor) with the Notice of Right to Claim Lien, formerly known as the Notice of Intent (except for subcontractors working on a residential remodeling project).<p>'
questions[3]='RCW 60.04.091 states that every person claiming a lien must file for recording, in the county where the subject\'s property is located, not later than 90 days after the person has ceased to furnish labor, professional services, materials or equipment or the last date on which employee benefit contributions were due.  So, the rule is that a lien must be recorded not later than 90 days after the last day of work, not 90 days following the date of the contractor\'s or supplier\'s final invoice.<p>'
questions[4]='RCW 60.04.141 states that no lien will bind the property subject to the lien for a longer period than eight calendar months after the claim of lien has been recorded unless an action is filed by the lien claimant within that time in the superior court in the county where the subject property is located to enforce the lien.  Therefore, a lien only binds the property for a period of eight months following the date that the lien was recorded, unless the lien claimant commences a lawsuit to foreclose the lien prior to the expiration of the eight month period.  During the eight month period, the lien will bind the property and will affect the owner\'s ability to freely transfer title or refinance the property.<p>'
questions[5]='RCW 60.04.061 states that a lien upon any lot or parcel of land is prior to any mortgage, deed of trust or other encumbrance which attached to the land or was unrecorded at the time of commencement of labor or professional services or first delivery of materials or equipment by the lien claimant.  Therefore, if a lien claimant has commenced delivery of materials or commenced work on site prior to a lender recording a mortgage or a deed of trust, the lien claimant\'s lien, even though subsequently recorded, will take priority over the lender\'s mortgage or deed of trust.  This is true even if the lien claimant records its lien after the lender records its mortgage or deed of trust, so long as the lien claimant commenced to deliver materials or perform work on site prior to the date that the lender recorded its mortgage or deed of trust.<p>'
questions[6]='There is only one lien form provided for in RCW 60.04.091.  This lien form must be used in substantially the same form as provided in RCW 60.04.091 on both residential and commercial projects, and also regardless of whether the lien claimant is an employee, subcontractor, supplier, general contractor or provider of professional services.<p>'
questions[7]='RCW 60.04.091 states that every person claiming a lien shall file the lien for recording in the county where the subject property is located.  Therefore, it makes no difference where the general contractor\'s office is located etc.  The only thing that matters is the location of the property on which you contributed labor, materials, equipment or professional services.  In whatever county the property is located, that is the county in which the lien must be recorded.  <p>'
questions[8]='While it is true that all contractors must be registered in order to record a lien, it is also true that persons other than registered contractors may record a lien.  For example, architects, engineers, surveyors, employees of subcontractors, employees of the general contractor, vendors and lessors of equipment may also record a lien.  However, if you are a contractor, RCW 60.04.011(11) states that a potential lien claimant is a person or entity entitled to certain lien rights under this chapter who has complied with the provisions of this chapter (RCW Ch. 60.04) and is registered or licensed if required to be licensed or registered by the provisions of the laws of the State of Washington.<p>'
questions[9]='Any person may sign the attestation clause on a lien so long as that person is authorized to act on behalf of the lien claimant.<p>'
questions[10]='A lien may be recorded only against private property.  A lien may not be recorded against public property such as a school, fire station, courthouse, jail etc.  Those who perform work on public works projects have alternative remedies for recovering unpaid compensation from the general contractor\'s retainage which is held by the public agency (up to a maximum of five percent) and the general contractor\'s payment bond which is required on public works projects.<p>'

/////Don't edit beyond here//////////////////////////

function gradeit(){
var incorrect=null
for (q=1;q<=totalquestions;q++){
	var thequestion=eval("document.myquiz.question"+q)
	for (c=0;c<thequestion.length;c++){
		if (thequestion[c].checked==true)
		actualchoices[q]=thequestion[c].value
		}
		
	if (actualchoices[q]!=correctchoices[q]){ //process an incorrect choice
		if (incorrect==null)
		incorrect=q
		else
		incorrect+="/"+q
		}
	}

if (incorrect==null)
incorrect="a/b"
document.cookie='q='+incorrect
if (document.cookie=='')
alert("Your browser does not accept cookies. Please adjust your browser settings.")
else
window.location="lien_quiz_results.html"
}

