var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973290&docid=69102511&x=4120',
		'title': '',
		'imageId': '69102511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973290&docid=69102509&x=4120',
		'title': '',
		'imageId': '69102509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973290&docid=69102512&x=4120',
		'title': '',
		'imageId': '69102512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973290&docid=69102510&x=4120',
		'title': '',
		'imageId': '69102510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973290&docid=69102514&x=4120',
		'title': '',
		'imageId': '69102514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973290&docid=69102513&x=4120',
		'title': '',
		'imageId': '69102513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973290&docid=69102517&x=4120',
		'title': '',
		'imageId': '69102517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973290&docid=69102520&x=4120',
		'title': '',
		'imageId': '69102520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973290&docid=69102527&x=4120',
		'title': '',
		'imageId': '69102527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973290&docid=69102528&x=4120',
		'title': '',
		'imageId': '69102528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973290&docid=69102529&x=4120',
		'title': '',
		'imageId': '69102529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973290';

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