var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4000935&docid=69737119&x=4650',
		'title': '',
		'imageId': '69737119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000935&docid=69737121&x=4650',
		'title': '',
		'imageId': '69737121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000935&docid=69736767&x=4650',
		'title': '',
		'imageId': '69736767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000935&docid=69736764&x=4650',
		'title': '',
		'imageId': '69736764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000935&docid=69736766&x=4650',
		'title': '',
		'imageId': '69736766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000935&docid=69736770&x=4650',
		'title': '',
		'imageId': '69736770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000935&docid=69736771&x=4650',
		'title': '',
		'imageId': '69736771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000935&docid=69736772&x=4650',
		'title': '',
		'imageId': '69736772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000935&docid=69736765&x=4650',
		'title': '',
		'imageId': '69736765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000935&docid=69736769&x=4650',
		'title': '',
		'imageId': '69736769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000935&docid=69736768&x=4650',
		'title': '',
		'imageId': '69736768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000935&docid=69737201&x=4650',
		'title': '',
		'imageId': '69737201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4000935';

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