var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501601&x=1124',
		'title': '',
		'imageId': '70501601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501592&x=1124',
		'title': '',
		'imageId': '70501592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501586&x=1124',
		'title': '',
		'imageId': '70501586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501585&x=1124',
		'title': '',
		'imageId': '70501585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501589&x=1124',
		'title': '',
		'imageId': '70501589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501590&x=1124',
		'title': '',
		'imageId': '70501590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501591&x=1124',
		'title': '',
		'imageId': '70501591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501598&x=1124',
		'title': '',
		'imageId': '70501598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501593&x=1124',
		'title': '',
		'imageId': '70501593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501597&x=1124',
		'title': '',
		'imageId': '70501597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501580&x=1124',
		'title': '',
		'imageId': '70501580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501582&x=1124',
		'title': '',
		'imageId': '70501582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501581&x=1124',
		'title': '',
		'imageId': '70501581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501584&x=1124',
		'title': '',
		'imageId': '70501584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501595&x=1124',
		'title': '',
		'imageId': '70501595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501594&x=1124',
		'title': '',
		'imageId': '70501594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501588&x=1124',
		'title': '',
		'imageId': '70501588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501587&x=1124',
		'title': '',
		'imageId': '70501587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501579&x=1124',
		'title': '',
		'imageId': '70501579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501596&x=1124',
		'title': '',
		'imageId': '70501596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501583&x=1124',
		'title': '',
		'imageId': '70501583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501599&x=1124',
		'title': '',
		'imageId': '70501599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031902&docid=70501600&x=1124',
		'title': '',
		'imageId': '70501600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4031902';

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";
	})
}
