var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3978902&docid=69233745&x=3548',
		'title': '',
		'imageId': '69233745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978902&docid=69233748&x=3548',
		'title': '',
		'imageId': '69233748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978902&docid=69233751&x=3548',
		'title': '',
		'imageId': '69233751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978902&docid=69233754&x=3548',
		'title': '',
		'imageId': '69233754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978902&docid=69233757&x=3548',
		'title': '',
		'imageId': '69233757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978902&docid=69233760&x=3548',
		'title': '',
		'imageId': '69233760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978902&docid=69233763&x=3548',
		'title': '',
		'imageId': '69233763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978902&docid=69233777&x=3548',
		'title': '',
		'imageId': '69233777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978902&docid=69233812&x=3548',
		'title': '',
		'imageId': '69233812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978902&docid=69233826&x=3548',
		'title': '',
		'imageId': '69233826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3978902';

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