var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001657&docid=69751888&x=823',
		'title': '',
		'imageId': '69751888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001657&docid=69751801&x=823',
		'title': '',
		'imageId': '69751801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001657&docid=69751802&x=823',
		'title': '',
		'imageId': '69751802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001657&docid=69751803&x=823',
		'title': '',
		'imageId': '69751803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001657&docid=69751810&x=823',
		'title': '',
		'imageId': '69751810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001657&docid=69751841&x=823',
		'title': '',
		'imageId': '69751841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001657&docid=69751846&x=823',
		'title': '',
		'imageId': '69751846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001657&docid=69751847&x=823',
		'title': '',
		'imageId': '69751847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001657&docid=69751848&x=823',
		'title': '',
		'imageId': '69751848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001657&docid=69751849&x=823',
		'title': '',
		'imageId': '69751849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001657&docid=69751850&x=823',
		'title': '',
		'imageId': '69751850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001657&docid=69751851&x=823',
		'title': '',
		'imageId': '69751851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001657&docid=69751852&x=823',
		'title': '',
		'imageId': '69751852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001657&docid=69751853&x=823',
		'title': '',
		'imageId': '69751853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001657&docid=69751862&x=823',
		'title': '',
		'imageId': '69751862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001657&docid=69751872&x=823',
		'title': '',
		'imageId': '69751872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001657&docid=69751879&x=823',
		'title': '',
		'imageId': '69751879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001657&docid=69751886&x=823',
		'title': '',
		'imageId': '69751886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001657&docid=69751887&x=823',
		'title': '',
		'imageId': '69751887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001657&docid=69751889&x=823',
		'title': '',
		'imageId': '69751889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001657';

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