var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689915&x=4446',
		'title': '',
		'imageId': '70689915',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689917&x=4446',
		'title': '',
		'imageId': '70689917',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689918&x=4446',
		'title': '',
		'imageId': '70689918',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689919&x=4446',
		'title': '',
		'imageId': '70689919',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689920&x=4446',
		'title': '',
		'imageId': '70689920',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689921&x=4446',
		'title': '',
		'imageId': '70689921',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689922&x=4446',
		'title': '',
		'imageId': '70689922',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689923&x=4446',
		'title': '',
		'imageId': '70689923',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689924&x=4446',
		'title': '',
		'imageId': '70689924',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689925&x=4446',
		'title': '',
		'imageId': '70689925',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689926&x=4446',
		'title': '',
		'imageId': '70689926',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689927&x=4446',
		'title': '',
		'imageId': '70689927',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689928&x=4446',
		'title': '',
		'imageId': '70689928',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689929&x=4446',
		'title': '',
		'imageId': '70689929',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689930&x=4446',
		'title': '',
		'imageId': '70689930',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689931&x=4446',
		'title': '',
		'imageId': '70689931',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689932&x=4446',
		'title': '',
		'imageId': '70689932',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689933&x=4446',
		'title': '',
		'imageId': '70689933',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689934&x=4446',
		'title': '',
		'imageId': '70689934',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689935&x=4446',
		'title': '',
		'imageId': '70689935',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689936&x=4446',
		'title': '',
		'imageId': '70689936',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689937&x=4446',
		'title': '',
		'imageId': '70689937',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689938&x=4446',
		'title': '',
		'imageId': '70689938',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689939&x=4446',
		'title': '',
		'imageId': '70689939',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689940&x=4446',
		'title': '',
		'imageId': '70689940',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689941&x=4446',
		'title': '',
		'imageId': '70689941',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066031&docid=70689942&x=4446',
		'title': '',
		'imageId': '70689942',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4066031';

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