var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261502&x=3544',
		'title': '',
		'imageId': '69261502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261537&x=3544',
		'title': '',
		'imageId': '69261537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261540&x=3544',
		'title': '',
		'imageId': '69261540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261544&x=3544',
		'title': '',
		'imageId': '69261544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261547&x=3544',
		'title': '',
		'imageId': '69261547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261550&x=3544',
		'title': '',
		'imageId': '69261550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261553&x=3544',
		'title': '',
		'imageId': '69261553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261556&x=3544',
		'title': '',
		'imageId': '69261556',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261557&x=3544',
		'title': '',
		'imageId': '69261557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261628&x=3544',
		'title': '',
		'imageId': '69261628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261630&x=3544',
		'title': '',
		'imageId': '69261630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261629&x=3544',
		'title': '',
		'imageId': '69261629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261637&x=3544',
		'title': '',
		'imageId': '69261637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261640&x=3544',
		'title': '',
		'imageId': '69261640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261647&x=3544',
		'title': '',
		'imageId': '69261647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261650&x=3544',
		'title': '',
		'imageId': '69261650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261672&x=3544',
		'title': '',
		'imageId': '69261672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261676&x=3544',
		'title': '',
		'imageId': '69261676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261679&x=3544',
		'title': '',
		'imageId': '69261679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261683&x=3544',
		'title': '',
		'imageId': '69261683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261686&x=3544',
		'title': '',
		'imageId': '69261686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261713&x=3544',
		'title': '',
		'imageId': '69261713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261714&x=3544',
		'title': '',
		'imageId': '69261714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261719&x=3544',
		'title': '',
		'imageId': '69261719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261720&x=3544',
		'title': '',
		'imageId': '69261720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261728&x=3544',
		'title': '',
		'imageId': '69261728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69261732&x=3544',
		'title': '',
		'imageId': '69261732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69285474&x=3544',
		'title': '',
		'imageId': '69285474',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69285475&x=3544',
		'title': '',
		'imageId': '69285475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69285476&x=3544',
		'title': '',
		'imageId': '69285476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69285477&x=3544',
		'title': '',
		'imageId': '69285477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69285478&x=3544',
		'title': '',
		'imageId': '69285478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980021&docid=69285479&x=3544',
		'title': '',
		'imageId': '69285479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980021';

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