var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003479&docid=69796051&x=80',
		'title': '',
		'imageId': '69796051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003479&docid=69796054&x=80',
		'title': '',
		'imageId': '69796054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003479&docid=69796053&x=80',
		'title': '',
		'imageId': '69796053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003479&docid=69796052&x=80',
		'title': '',
		'imageId': '69796052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003479&docid=69796058&x=80',
		'title': '',
		'imageId': '69796058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003479&docid=69796055&x=80',
		'title': '',
		'imageId': '69796055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003479&docid=69796064&x=80',
		'title': '',
		'imageId': '69796064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003479&docid=69796072&x=80',
		'title': '',
		'imageId': '69796072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003479&docid=69796066&x=80',
		'title': '',
		'imageId': '69796066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003479&docid=69796050&x=80',
		'title': '',
		'imageId': '69796050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003479';

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