var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107522&x=737',
		'title': '',
		'imageId': '69107522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107525&x=737',
		'title': '',
		'imageId': '69107525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107527&x=737',
		'title': '',
		'imageId': '69107527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107529&x=737',
		'title': '',
		'imageId': '69107529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107530&x=737',
		'title': '',
		'imageId': '69107530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107531&x=737',
		'title': '',
		'imageId': '69107531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107532&x=737',
		'title': '',
		'imageId': '69107532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107533&x=737',
		'title': '',
		'imageId': '69107533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107534&x=737',
		'title': '',
		'imageId': '69107534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107535&x=737',
		'title': '',
		'imageId': '69107535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107536&x=737',
		'title': '',
		'imageId': '69107536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107537&x=737',
		'title': '',
		'imageId': '69107537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107538&x=737',
		'title': '',
		'imageId': '69107538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107539&x=737',
		'title': '',
		'imageId': '69107539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107540&x=737',
		'title': '',
		'imageId': '69107540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107541&x=737',
		'title': '',
		'imageId': '69107541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107542&x=737',
		'title': '',
		'imageId': '69107542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107543&x=737',
		'title': '',
		'imageId': '69107543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107544&x=737',
		'title': '',
		'imageId': '69107544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107545&x=737',
		'title': '',
		'imageId': '69107545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107546&x=737',
		'title': '',
		'imageId': '69107546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107547&x=737',
		'title': '',
		'imageId': '69107547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107548&x=737',
		'title': '',
		'imageId': '69107548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973572&docid=69107519&x=737',
		'title': '',
		'imageId': '69107519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973572';

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