var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010260&docid=69470894&x=211',
		'title': '',
		'imageId': '69470894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010260&docid=69470893&x=211',
		'title': '',
		'imageId': '69470893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010260&docid=69470887&x=211',
		'title': '',
		'imageId': '69470887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010260&docid=69470896&x=211',
		'title': '',
		'imageId': '69470896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010260&docid=69470889&x=211',
		'title': '',
		'imageId': '69470889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010260&docid=69470890&x=211',
		'title': '',
		'imageId': '69470890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010260&docid=69470895&x=211',
		'title': '',
		'imageId': '69470895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010260&docid=69470888&x=211',
		'title': '',
		'imageId': '69470888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010260&docid=69470892&x=211',
		'title': '',
		'imageId': '69470892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010260&docid=69470891&x=211',
		'title': '',
		'imageId': '69470891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010260';

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