var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=70575191&x=365',
		'title': '',
		'imageId': '70575191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=70575205&x=365',
		'title': '',
		'imageId': '70575205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=70575192&x=365',
		'title': '',
		'imageId': '70575192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=70575203&x=365',
		'title': '',
		'imageId': '70575203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=70575206&x=365',
		'title': '',
		'imageId': '70575206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=70575202&x=365',
		'title': '',
		'imageId': '70575202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=70575193&x=365',
		'title': '',
		'imageId': '70575193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=70575196&x=365',
		'title': '',
		'imageId': '70575196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=70575194&x=365',
		'title': '',
		'imageId': '70575194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=70575197&x=365',
		'title': '',
		'imageId': '70575197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=70575195&x=365',
		'title': '',
		'imageId': '70575195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=70575216&x=365',
		'title': '',
		'imageId': '70575216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=70575200&x=365',
		'title': '',
		'imageId': '70575200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=70575211&x=365',
		'title': '',
		'imageId': '70575211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=70575208&x=365',
		'title': '',
		'imageId': '70575208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=70575201&x=365',
		'title': '',
		'imageId': '70575201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=70575190&x=365',
		'title': '',
		'imageId': '70575190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=70575209&x=365',
		'title': '',
		'imageId': '70575209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=70575207&x=365',
		'title': '',
		'imageId': '70575207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=70575199&x=365',
		'title': '',
		'imageId': '70575199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=70575204&x=365',
		'title': '',
		'imageId': '70575204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=70575198&x=365',
		'title': '',
		'imageId': '70575198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=59270515&x=365',
		'title': ' ',
		'imageId': '59270515',
		'alt' : ' ',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021359&docid=59270516&x=365',
		'title': '',
		'imageId': '59270516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4021359';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
